Skip to content

Commit

Permalink
test: fix error message checks in test-module-loading
Browse files Browse the repository at this point in the history
PR-URL: #5986
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
jasnell authored and Myles Borins committed Apr 5, 2016
1 parent f879f5e commit 6052ced
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sequential/test-module-loading.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6052ced

Please sign in to comment.