Skip to content

Commit 6052ced

Browse files
jasnellMyles Borins
authored and
Myles Borins
committed
test: fix error message checks in test-module-loading
PR-URL: #5986 Reviewed-By: Colin Ihrig <[email protected]>
1 parent f879f5e commit 6052ced

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sequential/test-module-loading.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ assert.throws(function() {
252252
assert.throws(function() {
253253
console.error('require empty string');
254254
require('');
255-
}, 'missing path');
255+
}, /missing path/);
256256

257257
process.on('exit', function() {
258258
assert.ok(a.A instanceof Function);

0 commit comments

Comments
 (0)