File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -333,15 +333,15 @@ func TestSetInvalidVariablesFromArguments(t *testing.T) {
333
333
// This test ensures that variables are merged in the correct order.
334
334
// Please consult the test data in `testdata/merging`.
335
335
func TestValueMergePrecedence (t * testing.T ) {
336
- cliVars := []string {"cliVar=cliVar" }
336
+ cliVars := []string {"cliVar=cliVar" }
337
337
ctx , _ := LoadContext ("testdata/merging/context.yaml" , & cliVars )
338
338
339
339
expected := map [string ]interface {}{
340
340
"defaultVar" : "defaultVar" ,
341
- "importVar" : "importVar" ,
342
- "globalVar" : "globalVar" ,
341
+ "importVar" : "importVar" ,
342
+ "globalVar" : "globalVar" ,
343
343
"includeVar" : "includeVar" ,
344
- "cliVar" : "cliVar" ,
344
+ "cliVar" : "cliVar" ,
345
345
}
346
346
347
347
result := ctx .ResourceSets [0 ].Values
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ func TestInsertTemplateFunction(t *testing.T) {
185
185
resourceSet := context.ResourceSet {
186
186
Path : "testdata" ,
187
187
Values : map [string ]interface {}{
188
- "testName" : "TestInsertTemplateFunction" ,
188
+ "testName" : "TestInsertTemplateFunction" ,
189
189
},
190
190
}
191
191
You can’t perform that action at this time.
0 commit comments