diff options
Diffstat (limited to 'Tests/AK/TestStringView.cpp')
-rw-r--r-- | Tests/AK/TestStringView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/AK/TestStringView.cpp b/Tests/AK/TestStringView.cpp index c2c81aa5e6..6623081c3c 100644 --- a/Tests/AK/TestStringView.cpp +++ b/Tests/AK/TestStringView.cpp @@ -19,7 +19,7 @@ TEST_CASE(construct_empty) TEST_CASE(view_literal) { - const char* truth = "cats rule dogs drool"; + char const* truth = "cats rule dogs drool"; StringView view(truth); EXPECT_EQ(view.is_null(), false); EXPECT_EQ(view.characters_without_null_termination(), truth); |