We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
{ throw IllegalStateException() } shouldThrow RuntimeException::class should pass
{ throw IllegalStateException() } shouldThrow RuntimeException::class
The text was updated successfully, but these errors were encountered:
(for the record) I've tested what JUnits behavior would be in this case.
This test passes: @Test(expected = RuntimeException.class) public void test() { new ArrayList<>().get(0); }
@Test(expected = RuntimeException.class) public void test() { new ArrayList<>().get(0); }
So the Exceptionhierarchy is expected behavior
Sorry, something went wrong.
I merged your PR into master and released both changes into 1.9.
Thanks for your contribution!
No branches or pull requests
{ throw IllegalStateException() } shouldThrow RuntimeException::class
should passThe text was updated successfully, but these errors were encountered: