Commit 433e534
authored
chore(tests): drop use of testify/mock.Mock.TestData (#1467)
Simplify tests in pkg/helm by replacing a use of
testify/mock.Mock.TestData with just direct storage in the MockHelm
object.
Why? I'm a maintainer of github.com/stretchr/testify/mock and we are
considering deprecating (and ultimately removing) the TestData method
because it brings the single requirement of dependency
github.com/stretchr/objx.Map.
See stretchr/testify#17521 parent aa93a16 commit 433e534
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
91 | | - | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
0 commit comments