Skip to content

Commit

Permalink
test: add OS X to module loading error test
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
evanlucas authored and Myles Borins committed Dec 29, 2015
1 parent 00f4312 commit e1f2810
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/parallel/test-module-loading-error.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ console.error('load test-module-loading-error.js');
var error_desc = {
win32: ['%1 is not a valid Win32 application'],
linux: ['file too short', 'Exec format error'],
sunos: ['unknown file type', 'not an ELF file']
sunos: ['unknown file type', 'not an ELF file'],
darwin: ['file too short']
};
var dlerror_msg = error_desc[process.platform];

Expand Down

0 comments on commit e1f2810

Please sign in to comment.