Skip to content

Commit c940437

Browse files
committed
squash: fix typo in test
1 parent da9defb commit c940437

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/parallel/test-url-pathtofileurl.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ const url = require('url');
4242
'\\\\',
4343
{ [Symbol.toPrimitive]: () => 'blep\\blop' },
4444
]), {
45-
code: 'ERR_INVALID_ARG_VALUE',
45+
code: 'ERR_INVALID_ARG_TYPE',
4646
});
4747
assert.throws(() => url.pathToFileURL(['\\\\', 'blep\\blop']), {
48-
code: 'ERR_INVALID_ARG_VALUE',
48+
code: 'ERR_INVALID_ARG_TYPE',
4949
});
5050
assert.throws(() => url.pathToFileURL({
5151
[Symbol.toPrimitive]: () => '\\\\blep\\blop',
5252
}), {
53-
code: 'ERR_INVALID_ARG_VALUE',
53+
code: 'ERR_INVALID_ARG_TYPE',
5454
});
5555

5656
} else {

0 commit comments

Comments
 (0)