diff options
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/test_run.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_run.py b/tests/test_run.py index 25b9907..c018b4d 100755 --- a/tests/test_run.py +++ b/tests/test_run.py @@ -74,9 +74,9 @@ class RunFuncTestCase(PexpectTestCase.PexpectTestCase): def test_run_tuple_list (self): events = [ # second match on 'abc', echo 'def' - ('abc\r\n.*$', 'echo "def"\n'), + ('abc\r\n.*GO:', 'echo "def"\n'), # final match on 'def': exit - ('def\r\n.*$', 'exit\n'), + ('def\r\n.*GO:', 'exit\n'), # first match on 'GO:' prompt, echo 'abc' ('GO:', 'echo "abc"\n') ] |
