Skip to content

Commit

Permalink
Fixed click outside test
Browse files Browse the repository at this point in the history
  • Loading branch information
fulminazzo committed Apr 12, 2024
1 parent 7a823c5 commit 69b8c69
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ void testClickOutside() {
-1, ClickType.LEFT, InventoryAction.CLONE_STACK);
assertFalse(event.isCancelled(), "Event should not be cancelled when starting");
this.guiManager.on(event);
assertTrue(event.isCancelled(), "Event should be cancelled after being invoked");
assertFalse(event.isCancelled(), "Event should not be cancelled after being invoked");
assertFalse(notExpected.get(), "Click action should not be invoked");
assertTrue(expected.get(), "Outside action was not invoked");
}
Expand Down

0 comments on commit 69b8c69

Please sign in to comment.