From 0bbc36ea7720008d8293b61a15c2e6f46b98e757 Mon Sep 17 00:00:00 2001 From: thinkerou Date: Mon, 30 Apr 2018 22:42:38 +0800 Subject: [PATCH] fix code style --- binding/binding_test.go | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/binding/binding_test.go b/binding/binding_test.go index 953fb6e8..e0c0e16c 100644 --- a/binding/binding_test.go +++ b/binding/binding_test.go @@ -986,14 +986,22 @@ func testFormBindingForType(t *testing.T, method, path, badPath, body, badBody s err := b.Bind(req, &obj) assert.NoError(t, err) assert.Equal(t, - struct { Idx int "form:\"idx\"" }(struct { Idx int "form:\"idx\"" }{Idx:123}), + struct { + Idx int "form:\"idx\"" + }(struct { + Idx int "form:\"idx\"" + }{Idx:123}), obj.StructFoo) case "StructPointer": obj := FooStructForStructPointerType{} err := b.Bind(req, &obj) assert.NoError(t, err) assert.Equal(t, - struct { Name string "form:\"name\"" }(struct { Name string "form:\"name\"" }{Name:"thinkerou"}), + struct { + Name string "form:\"name\"" + }(struct { + Name string "form:\"name\"" + }{Name:"thinkerou"}), *obj.StructPointerFoo) case "Map": obj := FooStructForMapType{}