diff options
Diffstat (limited to 'ops/kontemplate/context')
-rw-r--r-- | ops/kontemplate/context/context_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ops/kontemplate/context/context_test.go b/ops/kontemplate/context/context_test.go index 7ecd9d587d24..471eb246cf2f 100644 --- a/ops/kontemplate/context/context_test.go +++ b/ops/kontemplate/context/context_test.go @@ -333,15 +333,15 @@ func TestSetInvalidVariablesFromArguments(t *testing.T) { // This test ensures that variables are merged in the correct order. // Please consult the test data in `testdata/merging`. func TestValueMergePrecedence(t *testing.T) { - cliVars:= []string{"cliVar=cliVar"} + cliVars := []string{"cliVar=cliVar"} ctx, _ := LoadContext("testdata/merging/context.yaml", &cliVars) expected := map[string]interface{}{ "defaultVar": "defaultVar", - "importVar": "importVar", - "globalVar": "globalVar", + "importVar": "importVar", + "globalVar": "globalVar", "includeVar": "includeVar", - "cliVar": "cliVar", + "cliVar": "cliVar", } result := ctx.ResourceSets[0].Values |