(t *testing.T)
| 37 | ) |
| 38 | |
| 39 | func TestLoadDir(t *testing.T) { |
| 40 | l, err := Loader("testdata/frobnitz") |
| 41 | if err != nil { |
| 42 | t.Fatalf("Failed to load testdata: %s", err) |
| 43 | } |
| 44 | c, err := l.Load() |
| 45 | if err != nil { |
| 46 | t.Fatalf("Failed to load testdata: %s", err) |
| 47 | } |
| 48 | verifyFrobnitz(t, c) |
| 49 | verifyChart(t, c) |
| 50 | verifyDependencies(t, c) |
| 51 | verifyDependenciesLock(t, c) |
| 52 | } |
| 53 | |
| 54 | func TestLoadDirWithDevNull(t *testing.T) { |
| 55 | if runtime.GOOS == "windows" { |
nothing calls this directly
no test coverage detected
searching dependent graphs…