(names ...string)
| 8 | ) |
| 9 | |
| 10 | func basenameSet(names ...string) map[string]struct{} { |
| 11 | m := make(map[string]struct{}, len(names)) |
| 12 | for _, n := range names { |
| 13 | m[n] = struct{}{} |
| 14 | } |
| 15 | return m |
| 16 | } |
| 17 | |
| 18 | func TestCountHits(t *testing.T) { |
| 19 | bn := basenameSet("cd.1posix", "plan9-rc.1", "rc.1plan9", "ls.1", "mwhatis.1") |
no test coverage detected