Pass --strict to helm lint when so instructed [#28]

This commit is contained in:
Erin Call
2020-01-02 11:25:13 -08:00
parent 7d750f097d
commit 3ae13d4b3c
6 changed files with 17 additions and 6 deletions

View File

@@ -299,14 +299,16 @@ func (suite *PlanTestSuite) TestAddRepos() {
func (suite *PlanTestSuite) TestLint() {
cfg := Config{
Chart: "./flow",
Chart: "./flow",
LintStrictly: true,
}
steps := lint(cfg)
suite.Equal(1, len(steps))
want := &run.Lint{
Chart: "./flow",
Chart: "./flow",
Strict: true,
}
suite.Equal(want, steps[0])
}