1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:48:14 +00:00

AK: Fix test compile warnings

These warnings are pretty harmless, but warnings nonetheless.
This commit is contained in:
Shannon Booth 2020-01-05 12:59:25 +13:00 committed by Andreas Kling
parent d4fa8e4b00
commit 4a6605bbe5
2 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@ TEST_CASE(construct_empty)
EXPECT(StringView().is_null());
EXPECT(StringView().is_empty());
EXPECT(!StringView().characters_without_null_termination());
EXPECT_EQ(StringView().length(), 0);
EXPECT_EQ(StringView().length(), size_t { 0 });
}
TEST_CASE(view_literal)