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

Function TestEnvPartialVarsError

cel/env_test.go:192–198  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

190}
191
192func TestEnvPartialVarsError(t *testing.T) {
193 env := testEnv(t)
194 _, err := env.PartialVars(10)
195 if err == nil {
196 t.Error("env.PartialVars(10) succeeded, wanted error")
197 }
198}
199
200func TestTypeProviderInterop(t *testing.T) {
201 reg, err := types.NewProtoRegistry(types.ProtoTypeDefs(&proto3pb.TestAllTypes{}))

Callers

nothing calls this directly

Calls 3

PartialVarsMethod · 0.80
testEnvFunction · 0.70
ErrorMethod · 0.45

Tested by

no test coverage detected