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

Function TestProtosVersion

ext/protos_test.go:241–246  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

239}
240
241func TestProtosVersion(t *testing.T) {
242 _, err := cel.NewEnv(Protos(ProtosVersion(0)))
243 if err != nil {
244 t.Fatalf("ProtosVersion(0) failed: %v", err)
245 }
246}
247
248// msgWithExtensions generates a new example message with all possible extensions set.
249func msgWithExtensions() *proto2pb.ExampleType {

Callers

nothing calls this directly

Calls 3

NewEnvFunction · 0.92
ProtosFunction · 0.85
ProtosVersionFunction · 0.85

Tested by

no test coverage detected