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

Function TestConfigAddVariableDeclsEmpty

common/env/env_test.go:455–459  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

453}
454
455func TestConfigAddVariableDeclsEmpty(t *testing.T) {
456 if len(NewConfig("").AddVariables().Variables) != 0 {
457 t.Error("AddVariables() with no args failed")
458 }
459}
460
461func TestConfigAddFunctionDecls(t *testing.T) {
462 tests := []struct {

Callers

nothing calls this directly

Calls 3

NewConfigFunction · 0.85
AddVariablesMethod · 0.45
ErrorMethod · 0.45

Tested by

no test coverage detected