mirror of
https://github.com/helmfile/helmfile.git
synced 2026-09-30 19:45:00 +02:00
fix: make func names in app_list_test consistent
Signed-off-by: Viktor Oreshkin <imselfish@stek29.rocks>
This commit is contained in:
@@ -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})
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user