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 <wpcarro@gmail.com> Reviewed-by: Profpatsch <mail@profpatsch.de>
This commit is contained in:
parent
d7bf4f07c9
commit
562236085b
5 changed files with 46 additions and 46 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue