(t *testing.T, exp, act interface{})
| 2340 | } |
| 2341 | |
| 2342 | func equals(t *testing.T, exp, act interface{}) { |
| 2343 | if !reflect.DeepEqual(exp, act) { |
| 2344 | t.Log(string(debug.Stack())) |
| 2345 | failWithFailure(t, exp, act) |
| 2346 | } |
| 2347 | } |
| 2348 | |
| 2349 | func failWithFailure(t *testing.T, exp interface{}, act interface{}) { |
| 2350 | _, file, line, _ := runtime.Caller(1) |
no test coverage detected