mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-16 21:32:11 +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()
|
pusher := w.Pusher()
|
||||||
assert.NotNil(t, pusher, "Expected pusher to be non-nil")
|
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) {
|
func TestPusherWithoutPusher(t *testing.T) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user