From 339d3840c88470fdc4a3427542258f6ec4856530 Mon Sep 17 00:00:00 2001 From: Evan Lucas Date: Wed, 18 Nov 2015 08:07:15 -0600 Subject: [PATCH] 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 Reviewed-By: Jeremiah Senkpiel Reviewed-By: Colin Ihrig --- test/parallel/test-module-loading-error.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/parallel/test-module-loading-error.js b/test/parallel/test-module-loading-error.js index 5f9195d7736549..e67c53fc3b076a 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];