Commit 04e653c6
04e653c6c1e9Merged
Svyatoslav Dumchenko <[email protected]> · 4 years ago · 14 files · +5 added · ~9 modified
Description
Add tests for pkg/action.Action interface
Details
- Commit
- 04e653c6c1e9
- Parent
- ceeff5b45aa7
cmd/helmwave/completion.gomodifiedView file
@@ -73,7 +73,7 @@
7373
echo "source <(helmwave completion zsh)" >> ~/.zshrc"7474
`,7575
Action: func(c *cli.Context) error {76-
if 0 == c.Args().Len() {76+
if c.Args().Len() == 0 {7777
return ErrNotChose7878
}7979
cmd/helmwave/completion_test.goaddedView file
Loading diff…
pkg/action/build_test.gomodifiedView file
Loading diff…
pkg/action/diff_live_test.gomodifiedView file
Loading diff…
pkg/action/diff_plan_test.gomodifiedView file
Loading diff…
pkg/action/down_test.gomodifiedView file
Loading diff…
pkg/action/interface.gomodifiedView file
Loading diff…
pkg/action/list_test.goaddedView file
Loading diff…
pkg/action/rollback_test.goaddedView file
Loading diff…
pkg/action/status_test.goaddedView file
Loading diff…
pkg/action/up_test.gomodifiedView file
Loading diff…
pkg/action/validate_test.goaddedView file
Loading diff…
pkg/action/yml_test.gomodifiedView file
Loading diff…
pkg/release/uniqname/validate_test.gomodifiedView file
Loading diff…