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

Added assertNotThrows function #43

Merged
merged 1 commit into from Feb 21, 2019

Conversation

djavan-bertrand
Copy link
Contributor

The assertNotThrows function is generating an error whenever the autoclosure passed to it is throwing an error.

This function is mainly written to test that a function is not throwing an error, without testing the returned value if there is one.
For the other cases, the assertThat function should be preferred.

The `assertNotThrows` function is generating an error whenever the autoclosure passed to it is throwing an error.

This function is mainly written to test that a function is not throwing an error, without testing the returned value if there is one.
For the other cases, the `assertThat` function should be preferred.
@renep renep merged commit 32892dd into nschum:master Feb 21, 2019
@renep
Copy link
Collaborator

renep commented Feb 21, 2019

Release this pull request with version 2.1.1

@djavan-bertrand djavan-bertrand deleted the assertNotThrow-branch branch February 21, 2019 13:41
@djavan-bertrand
Copy link
Contributor Author

Wow that was fast! Thanks a lot!

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

Successfully merging this pull request may close these issues.

None yet

2 participants