Remove duplicate test case from crds_test.go

The "good" test case for CRDs is done in `TestGoodChart` in lint_test.go.

Signed-off-by: Zach Burgess <zachburg@google.com>
pull/31015/head
Zach Burgess 2 months ago
parent bf9084a16a
commit c59a097209

@ -24,17 +24,8 @@ import (
"helm.sh/helm/v4/pkg/lint/support"
)
const crdsTestBaseDir = "./testdata/goodone"
const invalidCrdsDir = "./testdata/invalidcrdsdir"
func TestCrdsDir(t *testing.T) {
linter := support.Linter{ChartDir: crdsTestBaseDir}
Crds(&linter)
res := linter.Messages
assert.Emptyf(t, res, "Expected no errors, got %v", res)
}
func TestInvalidCrdsDir(t *testing.T) {
linter := support.Linter{ChartDir: invalidCrdsDir}
Crds(&linter)

Loading…
Cancel
Save