mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:57:45 +00:00
Revert "Unicode: s/codepoint/code_point/g"
This reverts commit ea9ac3155d
.
It replaced "codepoint" with "code_points", not "code_point".
This commit is contained in:
parent
9664bac281
commit
19ac1f6368
45 changed files with 449 additions and 449 deletions
|
@ -37,9 +37,9 @@ TEST_CASE(decode_ascii)
|
|||
size_t expected_size = sizeof(expected) / sizeof(expected[0]);
|
||||
|
||||
size_t i = 0;
|
||||
for (u32 code_points : utf8) {
|
||||
for (u32 codepoint : utf8) {
|
||||
ASSERT(i < expected_size);
|
||||
EXPECT_EQ(code_points, expected[i]);
|
||||
EXPECT_EQ(codepoint, expected[i]);
|
||||
i++;
|
||||
}
|
||||
EXPECT_EQ(i, expected_size);
|
||||
|
@ -56,9 +56,9 @@ TEST_CASE(decode_utf8)
|
|||
size_t expected_size = sizeof(expected) / sizeof(expected[0]);
|
||||
|
||||
size_t i = 0;
|
||||
for (u32 code_points : utf8) {
|
||||
for (u32 codepoint : utf8) {
|
||||
ASSERT(i < expected_size);
|
||||
EXPECT_EQ(code_points, expected[i]);
|
||||
EXPECT_EQ(codepoint, expected[i]);
|
||||
i++;
|
||||
}
|
||||
EXPECT_EQ(i, expected_size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue