summaryrefslogtreecommitdiffstats
path: root/test/Help.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Help.py')
-rw-r--r--test/Help.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/Help.py b/test/Help.py
index 1014f6e..69db872 100644
--- a/test/Help.py
+++ b/test/Help.py
@@ -12,9 +12,8 @@ test.write('SConstruct', r"""
Help("Help text\ngoes here.\n")
""")
-test.run(arguments = '-h')
+expect = "Help text\ngoes here.\n\nUse scons -H for help about command-line options.\n"
-test.fail_test(test.stdout() != "Help text\ngoes here.\n\nUse scons -H for help about command-line options.\n")
-test.fail_test(test.stderr() != "")
+test.run(arguments = '-h', stdout = expect)
test.pass_test()