Skip to content

Commit af84da0

Browse files
committedMay 13, 2021
[test] Fix multiple mixed slashes test
Refs: #197 (comment)
1 parent eb6d9f5 commit af84da0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ describe('url-parse', function () {
291291
assume(parsed.hostname).equals('github.com');
292292
assume(parsed.pathname).equals('/foo/bar');
293293

294-
url = 'https:/\/\/\github.com/foo/bar';
294+
url = 'https:/\\/\\/\\github.com/foo/bar';
295295
assume(parsed.host).equals('github.com');
296296
assume(parsed.hostname).equals('github.com');
297297
assume(parsed.pathname).equals('/foo/bar');

0 commit comments

Comments
 (0)
Please sign in to comment.