Skip to content

Commit

Permalink
Fix test_dlfcn_missing unit test
Browse files Browse the repository at this point in the history
Make the expected error in test_dlfcn_missing more general to support
the addition of using `locateFile` in `loadLibData`.
  • Loading branch information
georgestagg committed Dec 15, 2022
1 parent 9e6390a commit 8c80559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -3102,7 +3102,7 @@ def test_dlfcn_missing(self):
if self.js_engines == [config.V8_ENGINE]:
expected = "error: Could not load dynamic lib: libfoo.so\nError: Error reading file"
else:
expected = "error: Could not load dynamic lib: libfoo.so\nError: ENOENT: no such file or directory, open 'libfoo.so'"
expected = "error: Could not load dynamic lib: libfoo.so\nError: ENOENT: no such file or directory"
self.do_run(src, expected)

@needs_dylink
Expand Down

0 comments on commit 8c80559

Please sign in to comment.