diff options
author | Richard Walters <rwalters@digitalstirling.com> | 2018-07-02 22:44:39 -0700 |
---|---|---|
committer | Richard Walters <rwalters@digitalstirling.com> | 2018-07-02 22:44:39 -0700 |
commit | da0d3dc2ad7c3339c9b31b3c54e16d5fd8902b2f (patch) | |
tree | f008bdf0673a2a6ceddb50c05917bb0edcf940bf | |
parent | 212980eeb06bb44ff6b9da6fc3f324bdaeaf4929 (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.cpp | 2 |
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}, |