Add ipv6 URL parsing test

It was reported that ipv6 URLS failed to parse now.  This test seems
useful to have.

Tested: Unit tests pass.

Change-Id: I21f1b11039c1b35dff5c85ecab784dd3cd6228dc
Signed-off-by: Ed Tanous <ed@tanous.net>
diff --git a/test/redfish-core/lib/update_service_test.cpp b/test/redfish-core/lib/update_service_test.cpp
index 11b4479..3e013e3 100644
--- a/test/redfish-core/lib/update_service_test.cpp
+++ b/test/redfish-core/lib/update_service_test.cpp
@@ -112,6 +112,19 @@
         EXPECT_EQ(ret->encoded_path(), "/");
         EXPECT_EQ(ret->scheme(), "https");
     }
+    {
+        // Both protocol and schema on url without path
+        std::optional<boost::urls::url> ret =
+            parseSimpleUpdateUrl("https://[2001:db8::1]", "HTTPS", res);
+        ASSERT_TRUE(ret);
+        if (!ret)
+        {
+            return;
+        }
+        EXPECT_EQ(ret->encoded_host_and_port(), "[2001:db8::1]");
+        EXPECT_EQ(ret->encoded_path(), "/");
+        EXPECT_EQ(ret->scheme(), "https");
+    }
 }
 
 TEST(UpdateService, ParseTFTPNegative)