Skip to content
New issue

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

ensureThrows doesn't fail when exception not thrown #27

Closed
GoogleCodeExporter opened this issue Apr 21, 2015 · 1 comment
Closed

ensureThrows doesn't fail when exception not thrown #27

GoogleCodeExporter opened this issue Apr 21, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

This spec doesn't fail but it doesn't:

it "should fail if an exception is not thrown", {
    ensureThrows(Exception.class) {
        // If we don't throw an exception the spec should fail
    }
}

Original issue reported on code.google.com by rfciii on 29 Feb 2008 at 2:56

@GoogleCodeExporter
Copy link
Author

Original comment by rfciii on 29 Feb 2008 at 3:48

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant