mirror of
https://github.com/Tencent/rapidjson.git
synced 2025-03-10 03:29:59 +01:00
Try diagnosis Valgrind error
This commit is contained in:
parent
f55002c9a2
commit
b55a9bcacb
@ -300,6 +300,7 @@ TEST(Pointer, Parse_URIFragment) {
|
||||
GenericPointer<GenericValue<UTF16<> > > p(L"#/%C2%A2");
|
||||
EXPECT_TRUE(p.IsValid());
|
||||
EXPECT_EQ(1u, p.GetTokenCount());
|
||||
printf("%x %x %u\n", p.GetTokens()[0].name[0], p.GetTokens()[0].name[1], p.GetTokens()[0].length);
|
||||
EXPECT_STREQ(L"\x00A2", p.GetTokens()[0].name);
|
||||
}
|
||||
|
||||
@ -308,6 +309,7 @@ TEST(Pointer, Parse_URIFragment) {
|
||||
GenericPointer<GenericValue<UTF16<> > > p(L"#/%E2%82%AC");
|
||||
EXPECT_TRUE(p.IsValid());
|
||||
EXPECT_EQ(1u, p.GetTokenCount());
|
||||
printf("%x %x %u\n", p.GetTokens()[0].name[0], p.GetTokens()[0].name[1], p.GetTokens()[0].length);
|
||||
EXPECT_STREQ(L"\x20AC", p.GetTokens()[0].name);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user