Skip to content

Commit 612de0a

Browse files
committed
Make comment, regex better match revised test
1 parent b751e0e commit 612de0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_other.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -15880,8 +15880,8 @@ def test_mainScriptUrlOrBlob(self, es6):
1588015880

1588115881
# First run without foo.js present to verify that the pthread creation fails
1588215882
err = self.run_js('a.out.js', assert_returncode=NON_ZERO)
15883-
self.assertContained('Cannot find module.*foo', err, regex=True)
15883+
self.assertContained('Cannot find module.*foo.js', err, regex=True)
1588415884

15885-
# Now create foo.{mjs,js} and the program should run as expected.
15885+
# Now create foo.js and the program should run as expected.
1588615886
shutil.copy('a.out.js', 'foo.js')
1588715887
self.assertContained('hello, world', self.run_js('a.out.js'))

0 commit comments

Comments
 (0)