(t *testing.T)
| 87 | } |
| 88 | |
| 89 | func TestNotFoundSearchPaths(t *testing.T) { |
| 90 | for _, tt := range notFoundSearchPathsSpecs { |
| 91 | paths := notFoundSearchPaths(tt.path, tt.spec) |
| 92 | if !reflect.DeepEqual(paths, tt.result) { |
| 93 | t.Errorf("Wanted %#v, got %#v", tt.result, paths) |
| 94 | } |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | var matchTypesSpecs = []struct { |
| 99 | spec string |
nothing calls this directly
no test coverage detected