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

Function TestSetsVersion

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

NewEnvFunction · 0.92
SetsFunction · 0.85
SetsVersionFunction · 0.85

Tested by

no test coverage detected