Skip to content

Commit

Permalink
Test samples from whatwg/url#303
Browse files Browse the repository at this point in the history
  • Loading branch information
rmisev committed Apr 28, 2017
1 parent 92fee11 commit bb1dc96
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test_sample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,10 @@ void test_parser()
url_testas("file://");
url_testas("file:///");

// https://github.com/whatwg/url/issues/303
url_testas("/c:/foo/bar", "file:///c:/baz/qux");
url_testas("/test", "file:///c:/x");

// failure: empty host
url_testas("http:#abc");

Expand Down

0 comments on commit bb1dc96

Please sign in to comment.