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

Add Panics() #2

Open
elliotchance opened this issue Aug 7, 2018 · 1 comment
Open

Add Panics() #2

elliotchance opened this issue Aug 7, 2018 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@elliotchance
Copy link
Owner

This works the same way as Errors in #1:

Divide(5, 0).Panics() // pass
Divide(5, 0).Panics("divide-by-zero") // pass
Divide(5, 0).Panics("foo") // fail
@elliotchance elliotchance added the help wanted Extra attention is needed label Aug 7, 2018
@m1ome
Copy link
Contributor

m1ome commented Sep 25, 2018

I am on it, also some refactoring required to make it done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants