aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Walters <rwalters@digitalstirling.com>2018-07-02 22:44:39 -0700
committerRichard Walters <rwalters@digitalstirling.com>2018-07-02 22:44:39 -0700
commitda0d3dc2ad7c3339c9b31b3c54e16d5fd8902b2f (patch)
treef008bdf0673a2a6ceddb50c05917bb0edcf940bf
parent212980eeb06bb44ff6b9da6fc3f324bdaeaf4929 (diff)
Fix bug in test
Fix assumption that the path of an absolute URI is considered to have a relative path if the path is empty.
-rw-r--r--test/src/UriTests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/UriTests.cpp b/test/src/UriTests.cpp
index 943c25c..fcd6309 100644
--- a/test/src/UriTests.cpp
+++ b/test/src/UriTests.cpp
@@ -152,7 +152,7 @@ TEST(UriTests, ParseFromStringRelativeVsNonRelativePaths) {
};
const std::vector< TestVector > testVectors{
{"http://www.example.com/", false},
- {"http://www.example.com", true},
+ {"http://www.example.com", false},
{"/", false},
{"foo", true},