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

Lines changed: 1 addition & 1 deletion
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)