MCPcopy Index your code
hub / github.com/helm/helm / TestReadFileOriginal

Function TestReadFileOriginal

pkg/cli/values/options_test.go:287–294  ·  view source on GitHub ↗

Original test case - keeping for backward compatibility

(t *testing.T)

Source from the content-addressed store, hash-verified

285
286// Original test case - keeping for backward compatibility
287func TestReadFileOriginal(t *testing.T) {
288 var p getter.Providers
289 filePath := "%a.txt"
290 _, err := readFile(filePath, p)
291 if err == nil {
292 t.Error("Expected error when has special strings")
293 }
294}
295
296func TestMergeValuesCLI(t *testing.T) {
297 tests := []struct {

Callers

nothing calls this directly

Calls 2

readFileFunction · 0.85
ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…