MCPcopy
hub / github.com/helm/helm / TestString

Function TestString

pkg/gates/gates_test.go:48–55  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

46}
47
48func TestString(t *testing.T) {
49 os.Unsetenv(name)
50 g := Gate(name)
51
52 if g.String() != "HELM_EXPERIMENTAL_FEATURE" {
53 t.Errorf("incorrect string representation. Received %s", g.String())
54 }
55}

Callers

nothing calls this directly

Calls 2

GateTypeAlias · 0.85
StringMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…