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 48bc73c commit 6481a95
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 @@ -3103,7 +3103,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 6481a95

Please sign in to comment.