Skip to content

Commit af84da0

Browse files
committed
[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)