aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
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"}},