mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:48:12 +00:00
AK: Expand string tests to include ends_with case insensitivity
This commit is contained in:
parent
129462cca7
commit
e5045b62b8
3 changed files with 15 additions and 0 deletions
|
@ -80,6 +80,8 @@ TEST_CASE(ends_with)
|
|||
EXPECT(test_string_view.ends_with("ABCDEF"));
|
||||
EXPECT(!test_string_view.ends_with("ABCDE"));
|
||||
EXPECT(!test_string_view.ends_with("ABCDEFG"));
|
||||
EXPECT(test_string_view.ends_with("def", CaseSensitivity::CaseInsensitive));
|
||||
EXPECT(!test_string_view.ends_with("def", CaseSensitivity::CaseSensitive));
|
||||
}
|
||||
|
||||
TEST_CASE(lines)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue