(t *testing.T)
| 155 | } |
| 156 | |
| 157 | func TestSearchSnapshot_EmptyQuery(t *testing.T) { |
| 158 | t.Parallel() |
| 159 | snap := filefinder.MakeTestSnapshot([]string{"foo.go"}) |
| 160 | cands := filefinder.SearchSnapshotForTest(filefinder.NewQueryPlanForTest(""), snap, 100) |
| 161 | if cands != nil { |
| 162 | t.Errorf("expected nil for empty query, got %v", cands) |
| 163 | } |
| 164 | } |
| 165 | |
| 166 | func TestSearchSnapshot_DeletedDocsExcluded(t *testing.T) { |
| 167 | t.Parallel() |
nothing calls this directly
no test coverage detected