From d3bcb45bcc02fa9abb83ca1f37c74d3916b9aee7 Mon Sep 17 00:00:00 2001 From: Justin Israel Date: Wed, 28 Feb 2018 15:28:48 +1300 Subject: [PATCH] Fix spelling in test for recovery of broken pipe (#1089) --- recovery_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recovery_test.go b/recovery_test.go index df69a48300..05eeaa34d3 100644 --- a/recovery_test.go +++ b/recovery_test.go @@ -46,7 +46,7 @@ func TestPanicWithAbort(t *testing.T) { } // TestPanicWithBrokenPipe asserts that recovery specifically handles -// writting responses to broken pipes +// writing responses to broken pipes func TestPanicWithBrokenPipe(t *testing.T) { const expectCode = 204 @@ -63,7 +63,7 @@ func TestPanicWithBrokenPipe(t *testing.T) { router := New() router.Use(RecoveryWithWriter(&buf)) router.GET("/recovery", func(c *Context) { - // Start writting response + // Start writing response c.Header("X-Test", "Value") c.Status(expectCode)