Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6052ced

Browse filesBrowse files
jasnellMyles Borins
authored andcommitted
test: fix error message checks in test-module-loading
PR-URL: #5986 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent f879f5e commit 6052ced
Copy full SHA for 6052ced

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎test/sequential/test-module-loading.js‎

Copy file name to clipboardExpand all lines: test/sequential/test-module-loading.js
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.