hamcrest-junit icon indicating copy to clipboard operation
hamcrest-junit copied to clipboard

Fix type signature of ExpectedException#except()

Open UrsMetz opened this issue 9 years ago • 1 comments

This fixes #12 but in contrast to the proposed solution there it changes the signature of ExpectedException#except(Matcher<?>) to expect(Matcher<? super Throwable>).

UrsMetz avatar Sep 10 '15 15:09 UrsMetz

As a maintainer of JUnit, I support this change.

kcooney avatar Dec 02 '16 17:12 kcooney