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

Function testFds

cel/prompt_test.go:49–58  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

47var fds *dpb.FileDescriptorSet
48
49func testFds(t *testing.T) *dpb.FileDescriptorSet {
50 onceFds.Do(func() {
51 fds = &dpb.FileDescriptorSet{}
52 err := proto.Unmarshal(testFdsWithSourceInfo, fds)
53 if err != nil {
54 t.Fatalf("failed to unmarshal testFdsWithSourceInfo: %v", err)
55 }
56 })
57 return fds
58}
59
60func TestPromptTemplate(t *testing.T) {
61 tests := []struct {

Callers 2

TestPromptTemplateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected