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

Function TestMaybeInteropProvider_Error

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

Source from the content-addressed store, hash-verified

1455}
1456
1457func TestMaybeInteropProvider_Error(t *testing.T) {
1458 _, err := maybeInteropProvider(123)
1459 if err == nil {
1460 t.Error("maybeInteropProvider(int) should return error")
1461 }
1462}
1463
1464func TestMaybeInteropProvider_LegacyTypeProvider(t *testing.T) {
1465 tp := &mockTypeProvider{}

Callers

nothing calls this directly

Calls 2

maybeInteropProviderFunction · 0.85
ErrorMethod · 0.45

Tested by

no test coverage detected