mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:27:44 +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
|
@ -97,6 +97,8 @@ TEST_CASE(ends_with)
|
|||
EXPECT(!test_string.ends_with('E'));
|
||||
EXPECT(test_string.ends_with("ABCDEF"));
|
||||
EXPECT(!test_string.ends_with("ABC"));
|
||||
EXPECT(test_string.ends_with("def", CaseSensitivity::CaseInsensitive));
|
||||
EXPECT(!test_string.ends_with("def", CaseSensitivity::CaseSensitive));
|
||||
}
|
||||
|
||||
TEST_CASE(copy_string)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue