Skip to content

Commit af84da0

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)