summaryrefslogtreecommitdiff
path: root/Tests
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-06-01 09:45:52 +0200
committerAndreas Kling <kling@serenityos.org>2021-06-01 09:45:52 +0200
commit407d6cd9e488ca1cd8bb47b0e493afc7d28a2edc (patch)
tree973bffcd30a05ef64503386982c2028387f7d799 /Tests
parent628c7f094f78d06d28c9fe0f14968e00e82e5be3 (diff)
downloadserenity-407d6cd9e488ca1cd8bb47b0e493afc7d28a2edc.zip
AK: Rename Utf8CodepointIterator => Utf8CodePointIterator
Diffstat (limited to 'Tests')
-rw-r--r--Tests/AK/TestUtf8.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/AK/TestUtf8.cpp b/Tests/AK/TestUtf8.cpp
index 522de3dcc9..6d0187fab9 100644
--- a/Tests/AK/TestUtf8.cpp
+++ b/Tests/AK/TestUtf8.cpp
@@ -71,7 +71,7 @@ TEST_CASE(validate_invalid_ut8)
TEST_CASE(iterate_utf8)
{
Utf8View view("Some weird characters \u00A9\u266A\uA755");
- Utf8CodepointIterator iterator = view.begin();
+ Utf8CodePointIterator iterator = view.begin();
EXPECT(*iterator == 'S');
EXPECT(iterator.peek().has_value() && iterator.peek().value() == 'S');
@@ -98,7 +98,7 @@ TEST_CASE(iterate_utf8)
EXPECT(iterator.done());
EXPECT(!iterator.peek(0).has_value());
- EXPECT_CRASH("Dereferencing Utf8CodepointIterator which is already done.", [&iterator] {
+ EXPECT_CRASH("Dereferencing Utf8CodePointIterator which is already done.", [&iterator] {
*iterator;
return Test::Crash::Failure::DidNotCrash;
});