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);