Skip to content

Commit

Permalink
Update RulesAttachmentTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
WCSumpton committed Aug 26, 2024
1 parent a8f840b commit b114a08
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ void setUp() {
@Test
void setHasResourceInvalidArgs() {
assertThrows(
IllegalArgumentException.class,
() -> attachment.setHasResource("NOT A NUMBER:resource1String"));
IllegalArgumentException.class,
() -> attachment.setHasResource("NOT A NUMBER:resource1String"));
verify(resourceList, times(0)).getResource(resource1String);
assertThrows(GameParseException.class, () -> attachment.setHasResource("0:resource1String"));
verify(resourceList, times(0)).getResource(resource1String);
Expand Down

0 comments on commit b114a08

Please sign in to comment.