docs: fix simple typo, perecent -> percent
There is a small typo in test/unittest/pointertest.cpp. Should read `percent` rather than `perecent`. Signed-off-by: Tim Gates <tim.gates@iress.com>
This commit is contained in:
parent
232389d4f1
commit
27c3a8dc0e
@ -303,7 +303,7 @@ TEST(Pointer, Parse_URIFragment) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
// Decode UTF-8 perecent encoding to UTF-8
|
// Decode UTF-8 percent encoding to UTF-8
|
||||||
Pointer p("#/%C2%A2");
|
Pointer p("#/%C2%A2");
|
||||||
EXPECT_TRUE(p.IsValid());
|
EXPECT_TRUE(p.IsValid());
|
||||||
EXPECT_EQ(1u, p.GetTokenCount());
|
EXPECT_EQ(1u, p.GetTokenCount());
|
||||||
@ -311,7 +311,7 @@ TEST(Pointer, Parse_URIFragment) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
// Decode UTF-8 perecent encoding to UTF-16
|
// Decode UTF-8 percent encoding to UTF-16
|
||||||
GenericPointer<GenericValue<UTF16<> > > p(L"#/%C2%A2");
|
GenericPointer<GenericValue<UTF16<> > > p(L"#/%C2%A2");
|
||||||
EXPECT_TRUE(p.IsValid());
|
EXPECT_TRUE(p.IsValid());
|
||||||
EXPECT_EQ(1u, p.GetTokenCount());
|
EXPECT_EQ(1u, p.GetTokenCount());
|
||||||
@ -320,7 +320,7 @@ TEST(Pointer, Parse_URIFragment) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
// Decode UTF-8 perecent encoding to UTF-16
|
// Decode UTF-8 percent encoding to UTF-16
|
||||||
GenericPointer<GenericValue<UTF16<> > > p(L"#/%E2%82%AC");
|
GenericPointer<GenericValue<UTF16<> > > p(L"#/%E2%82%AC");
|
||||||
EXPECT_TRUE(p.IsValid());
|
EXPECT_TRUE(p.IsValid());
|
||||||
EXPECT_EQ(1u, p.GetTokenCount());
|
EXPECT_EQ(1u, p.GetTokenCount());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user