aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/src/UriTests.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/src/UriTests.cpp b/test/src/UriTests.cpp
index d7ada25..4c1f307 100644
--- a/test/src/UriTests.cpp
+++ b/test/src/UriTests.cpp
@@ -349,13 +349,14 @@ TEST(UriTests, ParseFromStringHostBarelyLegal) {
}
}
-TEST(UriTests, ParseFromStringDontMisinterpretColonInAuthorityAsSchemeDelimiter) {
+TEST(UriTests, ParseFromStringDontMisinterpretColonInOtherPlacesAsSchemeDelimiter) {
const std::vector< std::string > testVectors{
{"//foo:bar@www.example.com/"},
{"//www.example.com/a:b"},
{"//www.example.com/foo?a:b"},
{"//www.example.com/foo#a:b"},
{"//[v7.:]/"},
+ {"/:/foo"},
};
size_t index = 0;
for (const auto& testVector : testVectors) {