(t *testing.T)
| 47 | var fds *dpb.FileDescriptorSet |
| 48 | |
| 49 | func 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 | |
| 60 | func TestPromptTemplate(t *testing.T) { |
| 61 | tests := []struct { |
no outgoing calls
no test coverage detected