websanova / js-url

url() - A simple, lightweight url parser for JavaScript
http://www.websanova.com
MIT License
1.93k stars 204 forks source link

Removed the invalid tests where the domain was used as a resource #24

Closed bettiolo closed 11 years ago

websanova commented 11 years ago

I see, I think it's still good to have as a fallback though. It may not be a properly formatted url, but the parser can still handle it, if say someone manually entered an incorrectly formatted url. In this particular case I think it's good to assume the path would still be "/" just as the browser does. So might as well test it.

bettiolo commented 11 years ago

Ok, I am fine with that.