diff options
author | Richard Walters <rwalters@digitalstirling.com> | 2018-07-03 00:15:39 -0700 |
---|---|---|
committer | Richard Walters <rwalters@digitalstirling.com> | 2018-07-03 00:15:39 -0700 |
commit | 22cfb83209a7da292a07b66945ca545cc0954524 (patch) | |
tree | 69fe57ab3a987f8bbfe4599c93e40f05f2e0ba79 /test | |
parent | eed4afa6005e7359c0807d35f0e2fc80af544c0c (diff) |
Fix erronous test vectors
Diffstat (limited to 'test')
-rw-r--r-- | test/src/UriTests.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/src/UriTests.cpp b/test/src/UriTests.cpp index f42dd5a..a0c2787 100644 --- a/test/src/UriTests.cpp +++ b/test/src/UriTests.cpp @@ -595,25 +595,25 @@ TEST(UriTests, NormalizePath) { {"mid/content=5/../6", {"mid", "6"}}, {"http://example.com/a/../b", {"", "b"}}, {"http://example.com/../b", {"", "b"}}, - {"http://example.com/a/../b", {"", "b"}}, + {"http://example.com/a/../b/", {"", "b", ""}}, {"http://example.com/a/../../b", {"", "b"}}, {"./a/b", {"a", "b"}}, {"..", {}}, {"/", {""}}, - {"a/b/..", {"a"}}, - {"a/b/.", {"a", "b"}}, + {"a/b/..", {"a", ""}}, + {"a/b/.", {"a", "b", ""}}, {"a/b/./c", {"a", "b", "c"}}, {"a/b/./c/", {"a", "b", "c", ""}}, - {"/a/b/..", {"", "a"}}, - {"/a/b/.", {"", "a", "b"}}, + {"/a/b/..", {"", "a", ""}}, + {"/a/b/.", {"", "a", "b", ""}}, {"/a/b/./c", {"", "a", "b", "c"}}, {"/a/b/./c/", {"", "a", "b", "c", ""}}, - {"./a/b/..", {"a"}}, - {"./a/b/.", {"a", "b"}}, + {"./a/b/..", {"a", ""}}, + {"./a/b/.", {"a", "b", ""}}, {"./a/b/./c", {"a", "b", "c"}}, {"./a/b/./c/", {"a", "b", "c", ""}}, - {"../a/b/..", {"a"}}, - {"../a/b/.", {"a", "b"}}, + {"../a/b/..", {"a", ""}}, + {"../a/b/.", {"a", "b", ""}}, {"../a/b/./c", {"a", "b", "c"}}, {"../a/b/./c/", {"a", "b", "c", ""}}, {"../a/b/../c", {"a", "c"}}, |