Unverified Commit f13fa077 authored by Joe Julian's avatar Joe Julian
Browse files

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


Signed-off-by: default avatarJoe Julian <me@joejulian.name>
Showing with 5 additions and 0 deletions
+5 -0
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment