Skip to content

Commit

Permalink
test: add test for url
Browse files Browse the repository at this point in the history
PR-URL: #11999
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: Prince John Wesley <[email protected]>
  • Loading branch information
hiroppy authored and MylesBorins committed Mar 28, 2017
1 parent fb41ee3 commit 764a00e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/parallel/test-url-relative.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ const assert = require('assert');
const inspect = require('util').inspect;
const url = require('url');

// when source is false
assert.strictEqual(url.resolveObject('', 'foo'), 'foo');

/*
[from, path, expected]
*/
Expand Down

0 comments on commit 764a00e

Please sign in to comment.