aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRichard Walters <rwalters@digitalstirling.com>2018-07-03 00:15:39 -0700
committerRichard Walters <rwalters@digitalstirling.com>2018-07-03 00:15:39 -0700
commit22cfb83209a7da292a07b66945ca545cc0954524 (patch)
tree69fe57ab3a987f8bbfe4599c93e40f05f2e0ba79 /test
parenteed4afa6005e7359c0807d35f0e2fc80af544c0c (diff)
Fix erronous test vectors
Diffstat (limited to 'test')
-rw-r--r--test/src/UriTests.cpp18
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"}},