Skip to content

Commit

Permalink
apply suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
jkroepke committed Mar 26, 2024
1 parent cf4e244 commit 34a1871
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pkg/iac/scanners/helm/test/parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ func Test_helm_parser_where_name_non_string(t *testing.T) {

helmParser, err := parser.New(chartName)
require.NoError(t, err)
err = helmParser.ParseFS(context.TODO(), os.DirFS(filepath.Join("testdata", chartName)), ".")
require.NoError(t, err)
require.NoError(t, helmParser.ParseFS(context.TODO(), os.DirFS(filepath.Join("testdata", chartName)), "."))
}
}

Expand Down Expand Up @@ -166,8 +165,7 @@ func Test_helm_tarball_parser(t *testing.T) {

helmParser, err := parser.New(test.archiveFile)
require.NoError(t, err)
err = helmParser.ParseFS(context.TODO(), testFs, ".")
require.NoError(t, err)
require.NoError(t, helmParser.ParseFS(context.TODO(), testFs, "."))

manifests, err := helmParser.RenderedChartFiles()
require.NoError(t, err)
Expand Down

0 comments on commit 34a1871

Please sign in to comment.