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
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.