diff options
author | Nico Weber <thakis@chromium.org> | 2020-08-05 16:31:20 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-05 22:33:42 +0200 |
commit | ce95628b7f96924e851d8cedac1d784547600cd3 (patch) | |
tree | 533dad9932cfc954ead3cfc776a27a9f7c4333f9 /AK/Tests | |
parent | 19ac1f6368c91cc00a68717001ea4eae65567a47 (diff) | |
download | serenity-ce95628b7f96924e851d8cedac1d784547600cd3.zip |
Unicode: Try s/codepoint/code_point/g again
This time, without trailing 's'. Ran:
git grep -l 'codepoint' | xargs sed -ie 's/codepoint/code_point/g
Diffstat (limited to 'AK/Tests')
-rw-r--r-- | AK/Tests/TestUtf8.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/AK/Tests/TestUtf8.cpp b/AK/Tests/TestUtf8.cpp index d61209e63b..a98129a287 100644 --- a/AK/Tests/TestUtf8.cpp +++ b/AK/Tests/TestUtf8.cpp @@ -37,9 +37,9 @@ TEST_CASE(decode_ascii) size_t expected_size = sizeof(expected) / sizeof(expected[0]); size_t i = 0; - for (u32 codepoint : utf8) { + for (u32 code_point : utf8) { ASSERT(i < expected_size); - EXPECT_EQ(codepoint, expected[i]); + EXPECT_EQ(code_point, 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 codepoint : utf8) { + for (u32 code_point : utf8) { ASSERT(i < expected_size); - EXPECT_EQ(codepoint, expected[i]); + EXPECT_EQ(code_point, expected[i]); i++; } EXPECT_EQ(i, expected_size); |