MCPcopy
hub / github.com/helm/helm / TestLoadFileBackslash

Function TestLoadFileBackslash

pkg/chart/v2/loader/load_test.go:398–406  ·  view source on GitHub ↗

Packaging the chart on a Windows machine will produce an archive that has \\ as delimiters. Test that we support these archives

(t *testing.T)

Source from the content-addressed store, hash-verified

396// Packaging the chart on a Windows machine will produce an
397// archive that has \\ as delimiters. Test that we support these archives
398func TestLoadFileBackslash(t *testing.T) {
399 c, err := Load("testdata/frobnitz_backslash-1.2.3.tgz")
400 if err != nil {
401 t.Fatalf("Failed to load testdata: %s", err)
402 }
403 verifyChartFileAndTemplate(t, c, "frobnitz_backslash")
404 verifyChart(t, c)
405 verifyDependencies(t, c)
406}
407
408func TestLoadV2WithReqs(t *testing.T) {
409 l, err := Loader("testdata/frobnitz.v2.reqs")

Callers

nothing calls this directly

Calls 5

FatalfMethod · 0.80
LoadFunction · 0.70
verifyChartFunction · 0.70
verifyDependenciesFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…