Skip to content

Commit

Permalink
Merge pull request #1248 from lairworks/fixSignCompareWarning
Browse files Browse the repository at this point in the history
Fix unit test warnings for flag `-Wsign-compare`
  • Loading branch information
DanRStevens authored Feb 27, 2025
2 parents 71194d0 + b4e4313 commit e7cedec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/Resource/Font.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ TEST(Font, nullSafelyUsable) {
EXPECT_EQ(0, font.width(""));
EXPECT_EQ(0, font.height());
EXPECT_EQ(0, font.ascent());
EXPECT_EQ(0, font.ptSize());
EXPECT_EQ(0u, font.ptSize());

const auto& metrics = font.metrics();
EXPECT_EQ(0, metrics.size());
EXPECT_EQ(0u, metrics.size());

EXPECT_EQ(0, font.textureId());
EXPECT_EQ(0u, font.textureId());
}

TEST(Font, nullWidthNonEmptyString) {
Expand Down

0 comments on commit e7cedec

Please sign in to comment.