1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:17:45 +00:00

AK: Fix all the warnings in the AK tests

This commit is contained in:
Andreas Kling 2020-03-06 11:21:23 +01:00
parent 75a6b27f73
commit b866582d98
8 changed files with 68 additions and 67 deletions

View file

@ -59,7 +59,7 @@ TEST_CASE(convert_to_int)
AK::StringUtils::convert_to_int("-", ok);
EXPECT(!ok);
int actual = actual = AK::StringUtils::convert_to_int("0", ok);
int actual = AK::StringUtils::convert_to_int("0", ok);
EXPECT(ok && actual == 0);
actual = AK::StringUtils::convert_to_int("1", ok);