MCPcopy Create free account
hub / github.com/cel-expr/cel-go / diffValue

Function diffValue

conformance/conformance_test.go:183–189  ·  view source on GitHub ↗
(want *valuepb.Value, got *valuepb.ExprValue)

Source from the content-addressed store, hash-verified

181}
182
183func diffValue(want *valuepb.Value, got *valuepb.ExprValue) string {
184 return cmp.Diff(
185 &valuepb.ExprValue{Kind: &valuepb.ExprValue_Value{Value: want}},
186 got,
187 protocmp.Transform(),
188 protocmp.SortRepeatedFields(&valuepb.MapValue{}, "entries"))
189}
190
191func conformanceTest(t *testing.T, name string, pb *testpb.SimpleTest) {
192 if shouldSkipTest(name) {

Callers 1

conformanceTestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected