(t *testing.T)
| 55 | ) |
| 56 | |
| 57 | func TestMatchSeedString(t *testing.T) { |
| 58 | for seed, want := range seeds { |
| 59 | have := MatchSeedString(completions, seed) |
| 60 | if !reflect.DeepEqual(have, want) { |
| 61 | t.Errorf("expected for %q\n%#v\n\tbut got\n%#v", seed, want, have) |
| 62 | } |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | func TestMatchSeedCompletion(t *testing.T) { |
| 67 | for seed, want := range seeds { |
nothing calls this directly
no test coverage detected