mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-16 13:22:09 +08:00
fix: golangci-lint for TestPusherWithPusher
This commit is contained in:
parent
10c5f96235
commit
1c2023545f
@ -177,8 +177,6 @@ func TestPusherWithPusher(t *testing.T) {
|
||||
|
||||
pusher := w.Pusher()
|
||||
assert.NotNil(t, pusher, "Expected pusher to be non-nil")
|
||||
_, ok := pusher.(http.Pusher)
|
||||
assert.True(t, ok, "Expected pusher to implement http.Pusher")
|
||||
}
|
||||
|
||||
func TestPusherWithoutPusher(t *testing.T) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user