MCPcopy Index your code
hub / github.com/codegangsta/gin / refute

Function refute

lib/helpers_test.go:25–29  ·  view source on GitHub ↗
(t *testing.T, a interface{}, b interface{})

Source from the content-addressed store, hash-verified

23}
24
25func refute(t *testing.T, a interface{}, b interface{}) {
26 if a == b {
27 t.Errorf("Did not expect %v (type %v) - Got %v (type %v) at %s", b, reflect.TypeOf(b), a, reflect.TypeOf(a), getCaller())
28 }
29}

Calls 1

getCallerFunction · 0.85

Tested by

no test coverage detected