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:46:05 +03:00
parent ebf0f370a1
commit 1838ec0a11
1 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ import (
"github.com/helmfile/helmfile/pkg/testutil" "github.com/helmfile/helmfile/pkg/testutil"
) )
func testListWithConfig(t *testing.T, cfg configImpl) { func testListWithEnvironment(t *testing.T, cfg configImpl) {
type testcase struct { type testcase struct {
environment string environment string
ns string ns string
@ -249,9 +249,9 @@ database my-app true true bitnami/postg
func TestListWithEnvironment(t *testing.T) { func TestListWithEnvironment(t *testing.T) {
t.Run("with prepared charts", func(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) { t.Run("without prepared charts", func(t *testing.T) {
testListWithConfig(t, configImpl{withPreparedCharts: false}) testListWithEnvironment(t, configImpl{withPreparedCharts: false})
}) })
} }