Skip to content

Commit 764a00e

Browse files
hiroppyMylesBorins
authored andcommitted
test: add test for url
PR-URL: #11999 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Prince John Wesley <[email protected]>
1 parent fb41ee3 commit 764a00e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/parallel/test-url-relative.js

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ const assert = require('assert');
44
const inspect = require('util').inspect;
55
const url = require('url');
66

7+
// when source is false
8+
assert.strictEqual(url.resolveObject('', 'foo'), 'foo');
9+
710
/*
811
[from, path, expected]
912
*/

0 commit comments

Comments
 (0)