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

Function TestSetsVersion

ext/sets_test.go:473–478  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

471}
472
473func TestSetsVersion(t *testing.T) {
474 _, err := cel.NewEnv(Sets(SetsVersion(0)))
475 if err != nil {
476 t.Fatalf("SetsVersion(0) failed: %v", err)
477 }
478}
479
480func testSetsEnv(t *testing.T, opts ...cel.EnvOption) *cel.Env {
481 t.Helper()

Callers

nothing calls this directly

Calls 3

NewEnvFunction · 0.92
SetsFunction · 0.85
SetsVersionFunction · 0.85

Tested by

no test coverage detected