From 5a1c743045f4f01e2e4dd650ec628e21d075f9b3 Mon Sep 17 00:00:00 2001 From: thinkerou Date: Tue, 17 Apr 2018 13:15:38 +0800 Subject: [PATCH] fix code indent --- binding/binding_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/binding/binding_test.go b/binding/binding_test.go index ba64c26c..7dc57ed0 100644 --- a/binding/binding_test.go +++ b/binding/binding_test.go @@ -426,8 +426,8 @@ func createFormPostRequest() *http.Request { func createDefaultFormPostRequest() *http.Request { req, _ := http.NewRequest("POST", "/?foo=getfoo&bar=getbar", bytes.NewBufferString("foo=bar")) - req.Header.Set("Content-Type", MIMEPOSTForm) - return req + req.Header.Set("Content-Type", MIMEPOSTForm) + return req } func createFormPostRequestFail() *http.Request {