MCPcopy Create free account
hub / github.com/databus23/helm-diff / TestEmpty

Function TestEmpty

manifest/parse_test.go:123–131  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

121}
122
123func TestEmpty(t *testing.T) {
124 spec, err := os.ReadFile("testdata/empty.yaml")
125 require.NoError(t, err)
126
127 require.Equal(t,
128 []string{},
129 foundObjects(Parse(spec, "default", false)),
130 )
131}
132
133func TestBaseNameAnnotation(t *testing.T) {
134 spec, err := os.ReadFile("testdata/secret_immutable.yaml")

Callers

nothing calls this directly

Calls 2

foundObjectsFunction · 0.85
ParseFunction · 0.85

Tested by

no test coverage detected