Open the-moisrex opened 4 months ago
TYPED_TEST(StructuredURITests, AddDotToPath) { static TypeParam const data{get_one<TypeParam>("non-spec:/", L"non-spec:/")}; uri::basic_uri<TypeParam> url{data}; // EXPECT_TRUE(url); url.path(get_one<TypeParam>("//p", L"//p")); EXPECT_EQ(url.path(), get_one<TypeParam>("//p", L"//p")); EXPECT_EQ(url.as_string(), get_one<TypeParam>("non-spec:/.//p", L"non-spec:/.//p")); }