Skip to content

Commit

Permalink
fix: expect EOL in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Et7f3 authored Jun 24, 2022
1 parent a21260e commit e3b5e03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
child.logfile = logfile
child.setecho(False)
child.sendline("hello")
child.expect("ECHO: hello")
child.expect("ECHO: hello\r\n")

reptyr = pexpect.spawn("./reptyr -V %d" % (child.pid,))
reptyr.logfile = logfile
reptyr.sendline("world")
reptyr.expect("ECHO: world")
reptyr.expect("ECHO: world\r\n")

child.sendline("final")
expect_eof(child.child_fd)
Expand Down

0 comments on commit e3b5e03

Please sign in to comment.