diff options
author | Evan Lucas <evanlucas@me.com> | 2015-11-18 08:07:15 -0600 |
---|---|---|
committer | Evan Lucas <evanlucas@me.com> | 2015-11-18 09:43:57 -0600 |
commit | 339d3840c88470fdc4a3427542258f6ec4856530 (patch) | |
tree | 46ab66be9427f5875f928cfba95cd5fa1660b510 /test/parallel/test-module-loading-error.js | |
parent | 9a628e2dac75655e4876ba56eb4cf35d444db54a (diff) | |
download | android-node-v8-339d3840c88470fdc4a3427542258f6ec4856530.tar.gz android-node-v8-339d3840c88470fdc4a3427542258f6ec4856530.tar.bz2 android-node-v8-339d3840c88470fdc4a3427542258f6ec4856530.zip |
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: https://github.com/nodejs/node/pull/3901
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'test/parallel/test-module-loading-error.js')
-rw-r--r-- | test/parallel/test-module-loading-error.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/parallel/test-module-loading-error.js b/test/parallel/test-module-loading-error.js index 5f9195d773..e67c53fc3b 100644 --- a/test/parallel/test-module-loading-error.js +++ b/test/parallel/test-module-loading-error.js @@ -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]; |