RichardWarburton / lambda-behave

A modern testing and behavioural specification framework for Java 8

Home Page:http://richardwarburton.github.io/lambda-behave/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

make it possible to expect AssertionError

christophsturm opened this issue · comments

this test should not fail IMO:

it.should("expect assertionError", expect -> expect.exception(AssertionError.class, () -> throw new AssertionError());

Thanks for reporting this issue. I've pushed a fix which fixes this.