summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test_run.py4
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')
]