Skip to content

Commit

Permalink
Update FoodGameTest.java
Browse files Browse the repository at this point in the history
small fix
  • Loading branch information
Phoupraw authored Dec 29, 2023
1 parent f62572c commit cd8b264
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public void nameMeatTest(TestContext context) {
player.setStackInHand(Hand.MAIN_HAND, meat);
player.interact(wolf, Hand.MAIN_HAND);
float wolfHealth = wolf.getHealth();
context.assertTrue(wolfHealth > 1, "actual %f, expect > 0".formatted(wolfHealth));
context.assertTrue(wolfHealth > 0, "actual %f, expect > 0".formatted(wolfHealth));
context.complete();
}
}

0 comments on commit cd8b264

Please sign in to comment.