Skip to content

Commit

Permalink
fix(java/testing): remove broken full stop at the end of the testing …
Browse files Browse the repository at this point in the history
…message
  • Loading branch information
DanySK committed Nov 13, 2023
1 parent dabb3b4 commit 95ca588
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void testWrongBankAccountDeposit() {
bankAccount.deposit(aBianchi.getUserID(), 10000);
Assertions.fail();
} catch (IllegalArgumentException e) {
Assertions.assertEquals("ID not corresponding: cannot perform transaction.", e.getMessage());
Assertions.assertEquals("ID not corresponding: cannot perform transaction", e.getMessage());
}
// Alternative (with reflection): Assertions.assertThrows
}
Expand Down

0 comments on commit 95ca588

Please sign in to comment.