'SConstruct file directory: .*%ssubdir$' % re.escape(os.sep),
]
-test.must_contain_all_lines('foo-000-0.log', content, expect, re.search)
+def re_find(content, line):
+ return re.search(line, content)
+test.must_contain_all_lines(content, expect, 'foo-000-0.log', re_find)
test.pass_test()
content = test.read(test.workpath('foo-000-0.log'), mode='r')
-test.must_contain_all_lines('foo-000-0.log', content, expect, re.search)
+def re_find(content, line):
+ return re.search(line, content)
+test.must_contain_all_lines(content, expect, 'foo-000-0.log', re_find)
test.pass_test()