()
| 66 | ) |
| 67 | |
| 68 | func (i indexType) String() string { |
| 69 | switch i { |
| 70 | case indexClassic: |
| 71 | return "classic" |
| 72 | case indexCorpusScan: |
| 73 | return "scan" |
| 74 | case indexCorpusBuild: |
| 75 | return "build" |
| 76 | default: |
| 77 | return fmt.Sprintf("unknown-index-type-%d", i) |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | type queryTest struct { |
| 82 | t testing.TB |
no outgoing calls
no test coverage detected