Dinesh Kumar
Dinesh Kumar
We could use `AssertNotCalled`. Is there any other specific reason or thoughts that you want such feature. `Times(0)` doesn't work, because [closest call](https://github.com/stretchr/testify/blob/master/mock/mock.go#L240) checks for -1. ``` if call.Method ==...
I would ideally create a new mock for that particular test, which means the struct/interface which embeds the mock would be new. you could also write subtests for that particular...
@abhiroj If you need any context or have questions, shoot. It could be JSON/String or any other types you need. The moment we've this in place it will be easy...
negroni.Handler interface will have ``` ServeHTTP(rw http.ResponseWriter, r *http.Request, next http.Handler) ``` instead of `http.HandlerFunc`. and we 'll need a new release. But this will affect the consumers when they...
There's a function to test whether given function panics. ``` func (a *Assertions) Panics(f PanicTestFunc, msgAndArgs ...interface{}) bool ``` This could be of your interest https://godoc.org/github.com/stretchr/testify/assert#Panics.
@littledot As its a pointer, You could just use `==` operator to verify its different memory. `orig==copy` is `false` and `orig==orig` is `true`.
looks good, we also have to check the types of the two pointers, and report properly if its different, and not just print the different address.
@yahelmanor2 NaN its not a number, so you can't compare those 2 values. `math.NaN() == math.NaN()` its `false`, so the assert Equal output you've got is as per expectations.
@fungs We don't have authentication integrated with kat as of now. Would be happy to assist if you want to raise a PR
@Ivan-Marquez Great to see you contributing. I see @u5surf have added the CI, so you could check other issues which interests you. There's a list of `good first issue` which...