From 945f20808143d954fea73e4ac3a0d71cf73c9b2c Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Thu, 11 May 2017 15:10:00 +0300 Subject: 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 Reviewed-By: Colin Ihrig --- test/sequential/test-module-loading.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/sequential/test-module-loading.js') 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', -- cgit v1.2.3