New ๐ŸŒŠ wave for @helm

Commit f72b7164

f72b71645bc2Merged

Sviatoslav Dumchenko <[email protected]> ยท 3 years ago ยท 2 files ยท ~2 modified

Description

chore(tests): add some panic recover tests

Details

Commit
f72b71645bc2
Parent
79f0a54d3c1f

cmd/helmwave/completion_internal_test.gomodifiedView file

@@ -1,6 +1,6 @@
11 package main
22
3-func (s *CliTestSuite) TestCompletion() {
3+func (ts *CliTestSuite) TestCompletion() {
44 tests := []struct {
55 args []string
66 fails bool
@@ -23,14 +23,14 @@
2323 },
2424 }
2525
26- app, _, _, _ := s.prepareApp() //nolint:dogsled // no need to access nor stdin or stdout or stderr
26+ app, _, _, _ := ts.prepareApp() //nolint:dogsled // no need to access nor stdin or stdout or stderr
2727
2828 for _, tt := range tests {
2929 err := app.Run(tt.args)
3030 if tt.fails {
31- s.Error(err)
31+ ts.Error(err)
3232 } else {
33- s.NoError(err)
33+ ts.NoError(err)
3434 }
3535 }
3636 }