diff --git a/pkg/lint/rules/crds_test.go b/pkg/lint/rules/crds_test.go index 66da06121..563392377 100644 --- a/pkg/lint/rules/crds_test.go +++ b/pkg/lint/rules/crds_test.go @@ -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)