8000 [test] Fix multiple mixed slashes test · unshiftio/url-parse@af84da0 · GitHub
[go: up one dir, main page]

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)
0