tf icon indicating copy to clipboard operation
tf copied to clipboard

Add Panics()

Open elliotchance opened this issue 6 years ago • 1 comments

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 avatar Aug 07 '18 02:08 elliotchance

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

m1ome avatar Sep 25 '18 11:09 m1ome