MCPcopy Create free account
hub / github.com/remotemobprogramming/mob / equals

Function equals

mob_test.go:2342–2347  ·  view source on GitHub ↗
(t *testing.T, exp, act interface{})

Source from the content-addressed store, hash-verified

2340}
2341
2342func 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
2349func failWithFailure(t *testing.T, exp interface{}, act interface{}) {
2350 _, file, line, _ := runtime.Caller(1)

Calls 1

failWithFailureFunction · 0.70

Tested by

no test coverage detected