fix: make func names in app_list_test consistent

Signed-off-by: Viktor Oreshkin <imselfish@stek29.rocks>
This commit is contained in:
Viktor Oreshkin
2022-09-06 09:48:17 +03:00
parent ebf0f370a1
commit 1838ec0a11
+3 -3
View File
@@ -17,7 +17,7 @@ import (
"github.com/helmfile/helmfile/pkg/testutil"
)
func testListWithConfig(t *testing.T, cfg configImpl) {
func testListWithEnvironment(t *testing.T, cfg configImpl) {
type testcase struct {
environment string
ns string
@@ -249,9 +249,9 @@ database my-app true true bitnami/postg
func TestListWithEnvironment(t *testing.T) {
t.Run("with prepared charts", func(t *testing.T) {
testListWithConfig(t, configImpl{withPreparedCharts: true})
testListWithEnvironment(t, configImpl{withPreparedCharts: true})
})
t.Run("without prepared charts", func(t *testing.T) {
testListWithConfig(t, configImpl{withPreparedCharts: false})
testListWithEnvironment(t, configImpl{withPreparedCharts: false})
})
}