all: Format code with gofumpt

See https://github.com/mvdan/gofumpt
This commit is contained in:
Bjørn Erik Pedersen
2020-12-02 13:23:25 +01:00
parent 32471b57bd
commit d90e37e0c6
442 changed files with 1426 additions and 2254 deletions

View File

@@ -62,7 +62,6 @@ func TestWhere(t *testing.T) {
}
return testVariants
}
for i, test := range []testt{
@@ -171,17 +170,17 @@ func TestWhere(t *testing.T) {
},
key: "B", match: "b2",
expect: []maps.Params{
maps.Params{"a": "a2", "b": "b2"},
{"a": "a2", "b": "b2"},
},
},
{
seq: []maps.Params{
maps.Params{
{
"a": map[string]interface{}{
"b": "b1",
},
},
maps.Params{
{
"a": map[string]interface{}{
"b": "b2",
},
@@ -189,7 +188,7 @@ func TestWhere(t *testing.T) {
},
key: "A.B", match: "b2",
expect: []maps.Params{
maps.Params{
{
"a": map[string]interface{}{
"b": "b2",
},