Skip to content

Commit

Permalink
chore: fix lint, assert with required
Browse files Browse the repository at this point in the history
  • Loading branch information
ardikabs committed Oct 4, 2023
1 parent 7239852 commit b67016e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"testing"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
kusttest_test "sigs.k8s.io/kustomize/api/testutils/kusttest"
)

Expand Down Expand Up @@ -735,7 +736,9 @@ func TestHelmChartInflationGeneratorWithLocalChartWithVersion(t *testing.T) {
t.Skip("skipping: " + err.Error())
}

th.GetFSys().MkdirAll(filepath.Join(th.GetRoot(), "charts/dummy/templates"))
err := th.GetFSys().MkdirAll(filepath.Join(th.GetRoot(), "charts/dummy/templates"))
require.NoError(t, err)

th.WriteF(filepath.Join(th.GetRoot(), "charts/dummy/Chart.yaml"), `
apiVersion: v1
appVersion: 1.0.0
Expand Down

0 comments on commit b67016e

Please sign in to comment.