From 6052ced37f30c1bcb06856bea08c479376c1755c Mon Sep 17 00:00:00 2001 From: James M Snell Date: Thu, 31 Mar 2016 19:50:29 -0700 Subject: [PATCH] test: fix error message checks in test-module-loading PR-URL: https://github.com/nodejs/node/pull/5986 Reviewed-By: Colin Ihrig --- test/sequential/test-module-loading.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sequential/test-module-loading.js b/test/sequential/test-module-loading.js index a6f9488f5f8092..d4799691b4e5be 100644 --- a/test/sequential/test-module-loading.js +++ b/test/sequential/test-module-loading.js @@ -252,7 +252,7 @@ assert.throws(function() { assert.throws(function() { console.error('require empty string'); require(''); -}, 'missing path'); +}, /missing path/); process.on('exit', function() { assert.ok(a.A instanceof Function);