(t *testing.T)
| 171 | } |
| 172 | |
| 173 | func TestLoadFile(t *testing.T) { |
| 174 | l, err := Loader("testdata/frobnitz-1.2.3.tgz") |
| 175 | if err != nil { |
| 176 | t.Fatalf("Failed to load testdata: %s", err) |
| 177 | } |
| 178 | c, err := l.Load() |
| 179 | if err != nil { |
| 180 | t.Fatalf("Failed to load testdata: %s", err) |
| 181 | } |
| 182 | verifyFrobnitz(t, c) |
| 183 | verifyChart(t, c) |
| 184 | verifyDependencies(t, c) |
| 185 | } |
| 186 | |
| 187 | func TestLoadFiles(t *testing.T) { |
| 188 | modTime := time.Now() |
nothing calls this directly
no test coverage detected
searching dependent graphs…