Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Improving a unit test for url.parse.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanpetrello committed May 20, 2011
1 parent 2c96e2d commit 34b29b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/simple/test-url.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,11 @@ var parseTests = {
'pathname': '/etc/passwd',
'hostname': ''
},
'file:///etc/node/' : {
'href': 'file:///etc/node/',
'file://localhost/etc/node/' : {
'href': 'file://localhost/etc/node/',
'protocol': 'file:',
'pathname': '/etc/node/',
'hostname': ''
'hostname': 'localhost'
},
'http:/baz/../foo/bar' : {
'href': 'http:/baz/../foo/bar',
Expand Down

0 comments on commit 34b29b8

Please sign in to comment.