style: include UTAO_JUNIT_ASSERTION_ODDITIES_ACTUAL_CONSTANT (#7239)

This commit is contained in:
Piotr Idzik
2026-01-24 14:16:48 +01:00
committed by GitHub
parent 1a7f8fe79e
commit 0b0cefe9f9
23 changed files with 107 additions and 110 deletions

View File

@@ -25,6 +25,6 @@ public class PalindromeNumberTest {
@Test
public void testIfNegativeInputThenExceptionExpected() {
IllegalArgumentException exception = Assertions.assertThrows(IllegalArgumentException.class, () -> PalindromeNumber.isPalindrome(-1));
Assertions.assertEquals(exception.getMessage(), "Input parameter must not be negative!");
Assertions.assertEquals("Input parameter must not be negative!", exception.getMessage());
}
}