Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 22d2887

Browse filesBrowse files
evanlucasMyles Borins
authored andcommitted
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 <info@bnoordhuis.nl> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent b7c3fb7 commit 22d2887
Copy full SHA for 22d2887

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: test/parallel/test-module-loading-error.js
+2-1Lines changed: 2 additions & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.