Skip to content

Commit 5505af4

Browse files
committed
chore: fix lint, assert with required
1 parent cc35d3c commit 5505af4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

plugin/builtin/helmchartinflationgenerator/HelmChartInflationGenerator_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import (
1111

1212
"github.com/stretchr/testify/require"
1313
"github.com/stretchr/testify/assert"
14+
"github.com/stretchr/testify/require"
1415
kusttest_test "sigs.k8s.io/kustomize/api/testutils/kusttest"
1516
"sigs.k8s.io/kustomize/kyaml/copyutil"
1617
)
@@ -781,7 +782,9 @@ func TestHelmChartInflationGeneratorWithLocalChartWithVersion(t *testing.T) {
781782
t.Skip("skipping: " + err.Error())
782783
}
783784

784-
th.GetFSys().MkdirAll(filepath.Join(th.GetRoot(), "charts/dummy/templates"))
785+
err := th.GetFSys().MkdirAll(filepath.Join(th.GetRoot(), "charts/dummy/templates"))
786+
require.NoError(t, err)
787+
785788
th.WriteF(filepath.Join(th.GetRoot(), "charts/dummy/Chart.yaml"), `
786789
apiVersion: v1
787790
appVersion: 1.0.0

0 commit comments

Comments
 (0)