Skip to content

Commit 339d384

Browse files
committed
test: add OS X to module loading error test
Previously, this test was not supported on OS X. This change makes sure that it is no longer skipped. PR-URL: #3901 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 9a628e2 commit 339d384

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/parallel/test-module-loading-error.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ console.error('load test-module-loading-error.js');
77
var error_desc = {
88
win32: ['%1 is not a valid Win32 application'],
99
linux: ['file too short', 'Exec format error'],
10-
sunos: ['unknown file type', 'not an ELF file']
10+
sunos: ['unknown file type', 'not an ELF file'],
11+
darwin: ['file too short']
1112
};
1213
var dlerror_msg = error_desc[process.platform];
1314

0 commit comments

Comments
 (0)