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:
Tim Gates 2022-07-20 18:19:18 +10:00 committed by Milo Yip
parent 232389d4f1
commit 27c3a8dc0e
1 changed files with 3 additions and 3 deletions

View File

@ -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");
EXPECT_TRUE(p.IsValid());
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");
EXPECT_TRUE(p.IsValid());
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");
EXPECT_TRUE(p.IsValid());
EXPECT_EQ(1u, p.GetTokenCount());