(want *valuepb.Value, got *valuepb.ExprValue)
| 181 | } |
| 182 | |
| 183 | func 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 | |
| 191 | func conformanceTest(t *testing.T, name string, pb *testpb.SimpleTest) { |
| 192 | if shouldSkipTest(name) { |