We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 133a62d commit d3bcb45Copy full SHA for d3bcb45
recovery_test.go
@@ -46,7 +46,7 @@ func TestPanicWithAbort(t *testing.T) {
46
}
47
48
// TestPanicWithBrokenPipe asserts that recovery specifically handles
49
-// writting responses to broken pipes
+// writing responses to broken pipes
50
func TestPanicWithBrokenPipe(t *testing.T) {
51
const expectCode = 204
52
@@ -63,7 +63,7 @@ func TestPanicWithBrokenPipe(t *testing.T) {
63
router := New()
64
router.Use(RecoveryWithWriter(&buf))
65
router.GET("/recovery", func(c *Context) {
66
- // Start writting response
+ // Start writing response
67
c.Header("X-Test", "Value")
68
c.Status(expectCode)
69
0 commit comments