summaryrefslogtreecommitdiff
path: root/test/sequential/test-module-loading.js
diff options
context:
space:
mode:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2017-05-11 15:10:00 +0300
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2017-05-14 16:05:48 +0300
commit945f20808143d954fea73e4ac3a0d71cf73c9b2c (patch)
tree23bdae68aa818091fbcb22c29f4b878f60cd99ee /test/sequential/test-module-loading.js
parent9516aa19c16cbfda6917c4fb8d6aecf2da8a16aa (diff)
downloadandroid-node-v8-945f20808143d954fea73e4ac3a0d71cf73c9b2c.tar.gz
android-node-v8-945f20808143d954fea73e4ac3a0d71cf73c9b2c.tar.bz2
android-node-v8-945f20808143d954fea73e4ac3a0d71cf73c9b2c.zip
test: make the rest of tests path-independent
Permit spaces in paths to a Node.js executable and test scripts. PR-URL: https://github.com/nodejs/node/pull/12972 Fixes: https://github.com/nodejs/node/issues/12773 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'test/sequential/test-module-loading.js')
-rw-r--r--test/sequential/test-module-loading.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sequential/test-module-loading.js b/test/sequential/test-module-loading.js
index 9d3a1f772c..c55c03279e 100644
--- a/test/sequential/test-module-loading.js
+++ b/test/sequential/test-module-loading.js
@@ -103,7 +103,7 @@ assert.throws(
function() {
require('../fixtures/packages/invalid');
},
- /^SyntaxError: Error parsing \S+: Unexpected token , in JSON at position 1$/
+ /^SyntaxError: Error parsing .+: Unexpected token , in JSON at position 1$/
);
assert.strictEqual(require('../fixtures/packages/index').ok, 'ok',