mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-13 11:39:43 +00:00
AK+Tests: Make null strings compare less than non-null strings
This behavior regressed in ca58c71faa
.
Fixes #12213
This commit is contained in:
parent
3bb580ba1d
commit
8473f6caee
Notes:
sideshowbarker
2024-07-17 19:59:24 +09:00
Author: https://github.com/BertalanD
Commit: 8473f6caee
Pull-request: https://github.com/SerenityOS/serenity/pull/12216
Issue: https://github.com/SerenityOS/serenity/issues/12213
Reviewed-by: https://github.com/linusg ✅
2 changed files with 8 additions and 5 deletions
|
@ -42,10 +42,7 @@ TEST_CASE(construct_contents)
|
|||
|
||||
TEST_CASE(equal)
|
||||
{
|
||||
// FIXME: Enable this as soon as it's fixed.
|
||||
#if 0
|
||||
EXPECT_NE(String::empty(), String {});
|
||||
#endif
|
||||
}
|
||||
|
||||
TEST_CASE(compare)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue