Skip to content

Commit

Permalink
test: test resolveObject with an empty path
Browse files Browse the repository at this point in the history
  • Loading branch information
watilde committed Mar 22, 2017
1 parent d9d6a81 commit 128ef4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/parallel/test-url-relative.js
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,8 @@ const relativeTests2 = [
'https://user:password@example.com/foo'],

// No path at all
['#hash1', '#hash2', '#hash1']
['#hash1', '#hash2', '#hash1'],
['#hash', '?query', '?query#hash']
];
relativeTests2.forEach(function(relativeTest) {
const a = url.resolve(relativeTest[1], relativeTest[0]);
Expand Down

0 comments on commit 128ef4e

Please sign in to comment.