MCPcopy
hub / github.com/golang/protobuf / TestEqual

Function TestEqual

proto/proto_equal_test.go:212–218  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

210}
211
212func TestEqual(t *testing.T) {
213 for _, tc := range EqualTests {
214 if res := proto.Equal(tc.a, tc.b); res != tc.exp {
215 t.Errorf("%v: Equal(%v, %v) = %v, want %v", tc.desc, tc.a, tc.b, res, tc.exp)
216 }
217 }
218}

Callers

nothing calls this directly

Calls 1

EqualFunction · 0.92

Tested by

no test coverage detected