Skip to content

Commit

Permalink
Update src/lib/support/tests/TestUtf8.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarmelveilleux authored Nov 10, 2023
1 parent 6c4b97c commit 24a5b52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/support/tests/TestUtf8.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ void TestValidStrings(nlTestSuite * inSuite, void * inContext)
NL_TEST_ASSERT(inSuite, Utf8::IsValid(CharSpan(insideZero)));
}

// Test around forbidden 0xD800..0xDFF UTF-16 surrogate pairs.
// Test around forbidden 0xD800..0xDFFF UTF-16 surrogate pairs.
TEST_VALID_BYTES(0b1110'1101, 0b10'011111, 0b10'111111);
TEST_VALID_BYTES(0b1110'1110, 0b10'000000, 0b10'000000);
}
Expand Down

0 comments on commit 24a5b52

Please sign in to comment.