Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fulminazzo committed Dec 21, 2024
1 parent 5ff68ee commit 4996c88
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ void testIsSimilar() {

BukkitItem actual = BukkitItem.newItem(Material.STONE).setAmount(3)
.setDisplayName("Hello world").addLore("An interesting lore...")
.addEnchantment("flame", 3);
.addEnchantment("silk_touch", 3);

assertTrue(actual.isSimilar(expected));
assertTrue(actual.isSimilar(expected), String.format("%s should have been similar to %s", actual, expected));
}

@Test
Expand Down

0 comments on commit 4996c88

Please sign in to comment.