diff --git a/recovery_test.go b/recovery_test.go index aac5a54f..7d422b74 100644 --- a/recovery_test.go +++ b/recovery_test.go @@ -27,6 +27,7 @@ func TestPanicInHandler(t *testing.T) { assert.Contains(t, buffer.String(), "panic recovered") assert.Contains(t, buffer.String(), "Oupps, Houston, we have a problem") assert.Contains(t, buffer.String(), "TestPanicInHandler") + assert.NotContains(t, buffer.String(), "GET /recovery") // Debug mode prints the request SetMode(DebugMode)