Skip to content

Commit

Permalink
docs: fix simple typo, perecent -> percent
Browse files Browse the repository at this point in the history
There is a small typo in test/unittest/pointertest.cpp.

Should read `percent` rather than `perecent`.

Signed-off-by: Tim Gates <[email protected]>
  • Loading branch information
timgates42 authored and miloyip committed Jul 20, 2022
1 parent 232389d commit 27c3a8d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/unittest/pointertest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,15 +303,15 @@ 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());
EXPECT_STREQ("\xC2\xA2", p.GetTokens()[0].name);
}

{
// 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());
Expand All @@ -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());
Expand Down

1 comment on commit 27c3a8d

@paulocoutinhox
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi. When a release will come?

Please sign in to comment.