Try to fix valgrind error
This commit is contained in:
parent
6582160a12
commit
f55002c9a2
@ -295,22 +295,6 @@ TEST(Pointer, Parse_URIFragment) {
|
||||
EXPECT_STREQ("\xC2\xA2", p.GetTokens()[0].name);
|
||||
}
|
||||
|
||||
{
|
||||
// Decode UTF-8 perecent encoding to UTF-16
|
||||
GenericPointer<GenericValue<UTF16<> > > p(L"#/%C2%A2");
|
||||
EXPECT_TRUE(p.IsValid());
|
||||
EXPECT_EQ(1u, p.GetTokenCount());
|
||||
EXPECT_STREQ(L"\xA2", p.GetTokens()[0].name);
|
||||
}
|
||||
|
||||
{
|
||||
// Decode UTF-8 perecent encoding to UTF-16
|
||||
GenericPointer<GenericValue<UTF16<> > > p(L"#/%C2%A2");
|
||||
EXPECT_TRUE(p.IsValid());
|
||||
EXPECT_EQ(1u, p.GetTokenCount());
|
||||
EXPECT_STREQ(L"\xA2", p.GetTokens()[0].name);
|
||||
}
|
||||
|
||||
{
|
||||
// Decode UTF-8 perecent encoding to UTF-16
|
||||
GenericPointer<GenericValue<UTF16<> > > p(L"#/%C2%A2");
|
||||
|
Loading…
x
Reference in New Issue
Block a user