Skip to content

Commit

Permalink
[test] Fix multiple mixed slashes test
Browse files Browse the repository at this point in the history
  • Loading branch information
lpinca committed May 13, 2021
1 parent eb6d9f5 commit af84da0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ describe('url-parse', function () {
assume(parsed.hostname).equals('github.com');
assume(parsed.pathname).equals('/foo/bar');

url = 'https:/\/\/\github.com/foo/bar';
url = 'https:/\\/\\/\\github.com/foo/bar';
assume(parsed.host).equals('github.com');
assume(parsed.hostname).equals('github.com');
assume(parsed.pathname).equals('/foo/bar');
Expand Down

0 comments on commit af84da0

Please sign in to comment.