fix: make func names in app_list_test consistent
Signed-off-by: Viktor Oreshkin <imselfish@stek29.rocks>
This commit is contained in:
parent
ebf0f370a1
commit
1838ec0a11
|
|
@ -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})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue