diff options
Diffstat (limited to 'Tests/AK/TestStringView.cpp')
-rw-r--r-- | Tests/AK/TestStringView.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/AK/TestStringView.cpp b/Tests/AK/TestStringView.cpp index 39b19f3a3e..bc098bc137 100644 --- a/Tests/AK/TestStringView.cpp +++ b/Tests/AK/TestStringView.cpp @@ -196,7 +196,7 @@ TEST_CASE(case_insensitive_hash) auto string3 = "aBcDeF"sv; auto string4 = "foo"sv; - EXPECT_EQ(CaseInsensitiveStringViewTraits::hash(string1), CaseInsensitiveStringViewTraits::hash(string2)); - EXPECT_EQ(CaseInsensitiveStringViewTraits::hash(string1), CaseInsensitiveStringViewTraits::hash(string3)); - EXPECT_NE(CaseInsensitiveStringViewTraits::hash(string1), CaseInsensitiveStringViewTraits::hash(string4)); + EXPECT_EQ(CaseInsensitiveASCIIStringViewTraits::hash(string1), CaseInsensitiveASCIIStringViewTraits::hash(string2)); + EXPECT_EQ(CaseInsensitiveASCIIStringViewTraits::hash(string1), CaseInsensitiveASCIIStringViewTraits::hash(string3)); + EXPECT_NE(CaseInsensitiveASCIIStringViewTraits::hash(string1), CaseInsensitiveASCIIStringViewTraits::hash(string4)); } |