From 8e2c7309ebd3525cffdd1314407b9b92a3f3515c Mon Sep 17 00:00:00 2001 From: Dmitry Dorogin Date: Tue, 17 Jul 2018 16:07:09 +0300 Subject: [PATCH] fmt --- context_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/context_test.go b/context_test.go index adfb0dc6..a592bf5f 100644 --- a/context_test.go +++ b/context_test.go @@ -1508,7 +1508,7 @@ func TestContextStream(t *testing.T) { c, _ := CreateTestContext(w) stopStream := true - c.Stream(func (w io.Writer) bool { + c.Stream(func(w io.Writer) bool { defer func() { stopStream = false }() @@ -1525,7 +1525,7 @@ func TestContextStreamWithClientGone(t *testing.T) { w := CreateTestResponseRecorder() c, _ := CreateTestContext(w) - c.Stream(func (writer io.Writer) bool { + c.Stream(func(writer io.Writer) bool { defer func() { w.closeClient() }() @@ -1536,4 +1536,4 @@ func TestContextStreamWithClientGone(t *testing.T) { }) assert.Equal(t, "test", w.Body.String()) -} \ No newline at end of file +}