From 253ee21a8acebf6fa39e19b55904076d57a48eec Mon Sep 17 00:00:00 2001
From: Richard Walters <rwalters@digitalstirling.com>
Date: Wed, 4 Jul 2018 16:08:01 -0700
Subject: Fix bad requirement

After parsing a URI, we don't want the square brackets
to remain in the host element, because those were only
there to delimit it in the context of a URI string.
---
 test/src/UriTests.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/src/UriTests.cpp b/test/src/UriTests.cpp
index a0c2787..b17d492 100644
--- a/test/src/UriTests.cpp
+++ b/test/src/UriTests.cpp
@@ -355,8 +355,8 @@ TEST(UriTests, ParseFromStringHostBarelyLegal) {
         {"//(/", "("},
         {"//;/", ";"},
         {"//1.2.3.4/", "1.2.3.4"},
-        {"//[v7.:]/", "[v7.:]"},
-        {"//[v7.aB]/", "[v7.aB]"},
+        {"//[v7.:]/", "v7.:"},
+        {"//[v7.aB]/", "v7.aB"},
     };
     size_t index = 0;
     for (const auto& testVector : testVectors) {
-- 
cgit v1.2.3