Commit 45ea8f88
45ea8f88ef09Merged
Svyatoslav Dumchenko <[email protected]> · 5 years ago · 5 files · +2 added · ~3 modified
Description
add simple test for gomplated values
Details
- Commit
- 45ea8f88ef09
- Parent
- e53b9fad81c0
pkg/template/func_test.gomodifiedView file
@@ -47,6 +47,11 @@
4747
}4848
4949
func (s *FuncTestSuite) TestDisabledGomplate() {50+
SetConfig(&Config{51+
Gomplate: GomplateConfig{52+
Enabled: false,53+
},54+
})5055
fm := FuncMap()5156
5257
for key := range funcs.CreateDataFuncs(context.Background(), nil) {@@ -55,6 +60,6 @@
5560
}5661
5762
func TestFuncTestSuite(t *testing.T) {58-
t.Parallel()63+
//t.Parallel()5964
suite.Run(t, new(FuncTestSuite))6065
}pkg/template/tpl2yml.gomodifiedView file
Loading diff…
pkg/template/tpl2yml_test.goaddedView file
Loading diff…
tests/08_helmwave.ymlmodifiedView file
Loading diff…
tests/08_values.yamladdedView file
Loading diff…