Closed ebraminio closed 1 year ago
Currently the test always fails and as AssertionError isn't inherited from Exception current mechanism to catch the failure gracefully is broken itself so this fixes it by using JUnit 4's @Test(expected = AssertionError.class).
AssertionError
Exception
@Test(expected = AssertionError.class)
thanks for the fix!
Currently the test always fails and as
AssertionError
isn't inherited fromException
current mechanism to catch the failure gracefully is broken itself so this fixes it by using JUnit 4's@Test(expected = AssertionError.class)
.