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

Function TestOverloadAsFunctionOptionInvalid

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

Source from the content-addressed store, hash-verified

1659}
1660
1661func TestOverloadAsFunctionOptionInvalid(t *testing.T) {
1662 var od *Overload
1663 if _, err := od.AsFunctionOption(nil); err == nil {
1664 t.Error("nil Overload.AsFunctionOption(nil) = nil, wanted error")
1665 }
1666}
1667

Callers

nothing calls this directly

Calls 2

AsFunctionOptionMethod · 0.95
ErrorMethod · 0.45

Tested by

no test coverage detected