You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The spec says the leading '?' and '#' are not part of query and fragment themselves, but these test could misguide implementors into including them "to pass the tests".
If you give ok to this change, I can provide a quick pull request.
The text was updated successfully, but these errors were encountered:
Strong -1 from me. Being able to do simple assert_equals against the public API is what makes this a valuable way of testing the public API. If we start reconstructing the expected values from the JSON plus added test-specific logic, that'd be a big step backward to the old days where urltestdata just contained URL strings and the tests had to have their own mini-parser to reconstruct the expected values.
In
url/urltestdata.txt
, expected query and fragment always have a leading '?' and '#'. Example:http://user:pass@foo:21/bar;par?b#c s:http u:user pass:pass h:foo port:21 p:/bar;par q:?b f:#c
The spec says the leading '?' and '#' are not part of query and fragment themselves, but these test could misguide implementors into including them "to pass the tests".
If you give ok to this change, I can provide a quick pull request.
The text was updated successfully, but these errors were encountered: