Skip to content

Commit

Permalink
create failing test for quietly linting a chart that doesn't exist
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Julian <me@joejulian.name>
  • Loading branch information
joejulian committed Apr 10, 2023
1 parent 4b3a1cc commit f13fa07
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/helm/lint_test.go
Expand Up @@ -53,6 +53,11 @@ func TestLintCmdWithQuietFlag(t *testing.T) {
name: "lint chart with warning using --quiet flag",
cmd: "lint --quiet testdata/testcharts/chart-with-only-crds",
golden: "output/lint-quiet-with-warning.txt",
}, {
name: "lint non-existent chart using --quiet flag",
cmd: "lint --quiet thischartdoesntexist/",
golden: "",
wantError: true,
}}
runTestCmd(t, tests)

Expand Down

0 comments on commit f13fa07

Please sign in to comment.