mirror of
https://github.com/gin-gonic/gin.git
synced 2026-11-17 15:23:44 +08:00
Fix linter errors
This commit is contained in:
parent
e1c8dda324
commit
8b7ef9abb5
@ -152,7 +152,7 @@ func TestPanicWithAbortHandler(t *testing.T) {
|
||||
defer srv.Close()
|
||||
_, err := srv.Client().Get(srv.URL + "/recovery")
|
||||
require.Error(t, err)
|
||||
assert.ErrorIs(t, err, io.EOF)
|
||||
require.ErrorIs(t, err, io.EOF)
|
||||
// TEST
|
||||
out := buf.String()
|
||||
assert.Contains(t, out, "net/http: abort Handler")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user