create failing test for quietly linting a chart that doesn't exist

Signed-off-by: Joe Julian <me@joejulian.name>
pull/11973/head
Joe Julian 1 year ago
parent 4b3a1cc665
commit f13fa07793
No known key found for this signature in database
GPG Key ID: FAB12BE0575D999B

@ -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)

Loading…
Cancel
Save