1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:27:35 +00:00

AK: Make tests compilable with the serenity target toolchain

This commit is contained in:
Emanuel Sprung 2020-05-03 19:21:00 +02:00 committed by Andreas Kling
parent 838390171c
commit c7568943d9
3 changed files with 3 additions and 1 deletions

View file

@ -105,7 +105,7 @@ TEST_CASE(convert_to_uint)
AK::StringUtils::convert_to_uint("-1", ok);
EXPECT(!ok);
uint actual = AK::StringUtils::convert_to_uint("0", ok);
unsigned actual = AK::StringUtils::convert_to_uint("0", ok);
EXPECT(ok && actual == 0u);
actual = AK::StringUtils::convert_to_uint("1", ok);