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

Function TestProtoToReferenceInfoError

common/ast/conversion_test.go:684–689  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

682}
683
684func TestProtoToReferenceInfoError(t *testing.T) {
685 out, err := ast.ProtoToReferenceInfo(&exprpb.Reference{Value: &exprpb.Constant{}})
686 if err == nil {
687 t.Errorf("ProtoToReferenceInfo() got %v, wanted error", out)
688 }
689}
690
691func TestConvertVal(t *testing.T) {
692 tests := []ref.Val{

Callers

nothing calls this directly

Calls 1

ProtoToReferenceInfoFunction · 0.92

Tested by

no test coverage detected