Skip to content

Commit

Permalink
Fix tests pt2
Browse files Browse the repository at this point in the history
  • Loading branch information
tehKaiN committed Sep 17, 2022
1 parent c458e96 commit c91a487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/s25Main/lua/testLuaSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ BOOST_AUTO_TEST_CASE(PlayerSettings)
BOOST_TEST(isLuaEqual("player:GetName()", "'Foo'"));

executeLua("player:SetPortrait(8)");
BOOST_TEST(players[0].portraitIndex == 8);
BOOST_TEST(players[0].portraitIndex == 8u);

executeLua("player:SetColor(2)");
BOOST_TEST_REQUIRE(players[0].color == PLAYER_COLORS[2]);
Expand Down

0 comments on commit c91a487

Please sign in to comment.