Skip to content

Commit c37470f

Browse files
tazjinhka
authored and
hka
committed
style: format all Go code
The code in //users/wpcarro/tools/monzo_ynab/ynab/client.go was not valid Go and has been commented out. Change-Id: Icb4003607f30294dcbf60132eb7722702c7f0d84 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4400 Tested-by: BuildkiteCI Reviewed-by: wpcarro <[email protected]> Reviewed-by: Profpatsch <[email protected]> Original commit: https://code.tvl.fyi/patch/ops/kontemplate?id=562236085b79b3fe793d9f02fdcbba9480c6a5ee
1 parent d3bfbb0 commit c37470f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

context/context_test.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -333,15 +333,15 @@ func TestSetInvalidVariablesFromArguments(t *testing.T) {
333333
// This test ensures that variables are merged in the correct order.
334334
// Please consult the test data in `testdata/merging`.
335335
func TestValueMergePrecedence(t *testing.T) {
336-
cliVars:= []string{"cliVar=cliVar"}
336+
cliVars := []string{"cliVar=cliVar"}
337337
ctx, _ := LoadContext("testdata/merging/context.yaml", &cliVars)
338338

339339
expected := map[string]interface{}{
340340
"defaultVar": "defaultVar",
341-
"importVar": "importVar",
342-
"globalVar": "globalVar",
341+
"importVar": "importVar",
342+
"globalVar": "globalVar",
343343
"includeVar": "includeVar",
344-
"cliVar": "cliVar",
344+
"cliVar": "cliVar",
345345
}
346346

347347
result := ctx.ResourceSets[0].Values

templater/templater_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ func TestInsertTemplateFunction(t *testing.T) {
185185
resourceSet := context.ResourceSet{
186186
Path: "testdata",
187187
Values: map[string]interface{}{
188-
"testName": "TestInsertTemplateFunction",
188+
"testName": "TestInsertTemplateFunction",
189189
},
190190
}
191191

0 commit comments

Comments
 (0)