MCPcopy
hub / github.com/helm/helm / TestLoadDirWithUTFBOM

Function TestLoadDirWithUTFBOM

pkg/chart/v2/loader/load_test.go:141–155  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

139}
140
141func TestLoadDirWithUTFBOM(t *testing.T) {
142 l, err := Loader("testdata/frobnitz_with_bom")
143 if err != nil {
144 t.Fatalf("Failed to load testdata: %s", err)
145 }
146 c, err := l.Load()
147 if err != nil {
148 t.Fatalf("Failed to load testdata: %s", err)
149 }
150 verifyFrobnitz(t, c)
151 verifyChart(t, c)
152 verifyDependencies(t, c)
153 verifyDependenciesLock(t, c)
154 verifyBomStripped(t, c.Files)
155}
156
157func TestLoadArchiveWithUTFBOM(t *testing.T) {
158 l, err := Loader("testdata/frobnitz_with_bom.tgz")

Callers

nothing calls this directly

Calls 8

FatalfMethod · 0.80
LoaderFunction · 0.70
verifyFrobnitzFunction · 0.70
verifyChartFunction · 0.70
verifyDependenciesFunction · 0.70
verifyDependenciesLockFunction · 0.70
verifyBomStrippedFunction · 0.70
LoadMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…