diff options
Diffstat (limited to 'test/option--warn.py')
-rw-r--r-- | test/option--warn.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/option--warn.py b/test/option--warn.py index 8c84b6d..155545b 100644 --- a/test/option--warn.py +++ b/test/option--warn.py @@ -127,16 +127,16 @@ test.write('file1b.in', 'file1b.in\n') test.run(arguments='file1.out', stderr=r""" scons: warning: Two different environments were specified for target file1.out, - but they appear to have the same action: build\("file1.out", "file1b.in"\) + but they appear to have the same action: build\(\["file1.out"\], \["file1b.in"\]\) File "SConstruct", line \d+, in .+ """) -test.fail_test(not test.read('file1.out') == 'file1a.in\nfile1b.in\n') +test.must_match('file1.out', "file1a.in\nfile1b.in\n") test.run(arguments='--warn=duplicate-environment file1.out', stderr=r""" scons: warning: Two different environments were specified for target file1.out, - but they appear to have the same action: build\("file1.out", "file1b.in"\) + but they appear to have the same action: build\(\["file1.out"\], \["file1b.in"\]\) File "SConstruct", line \d+, in .+ """) |