make it possible to expect AssertionError
christophsturm opened this issue · comments
Christoph Sturm commented
this test should not fail IMO:
it.should("expect assertionError", expect -> expect.exception(AssertionError.class, () -> throw new AssertionError());
Richard Warburton commented
Thanks for reporting this issue. I've pushed a fix which fixes this.