(structType string, fields map[string]ref.Val)
| 1436 | } |
| 1437 | |
| 1438 | func (p *customCELProvider) NewValue(structType string, fields map[string]ref.Val) ref.Val { |
| 1439 | return p.provider.NewValue(structType, fields) |
| 1440 | } |
| 1441 | |
| 1442 | func TestCELTypeAdapter(t *testing.T) { |
| 1443 | env, err := NewEnv() |