(t *testing.T, cands []filefinder.CandidateForTest, path string)
| 97 | } |
| 98 | |
| 99 | func requireCandHasPath(t *testing.T, cands []filefinder.CandidateForTest, path string) { |
| 100 | t.Helper() |
| 101 | for _, c := range cands { |
| 102 | if c.Path == path { |
| 103 | return |
| 104 | } |
| 105 | } |
| 106 | t.Errorf("expected to find %q in candidates", path) |
| 107 | } |
| 108 | |
| 109 | func TestSearchSnapshot_TrigramMatch(t *testing.T) { |
| 110 | t.Parallel() |
no test coverage detected