Skip to content

Commit

Permalink
[#130] [http] distinguish between http.Handler and http.HandlerFunc
Browse files Browse the repository at this point in the history
  • Loading branch information
heaven-chp committed Apr 19, 2024
1 parent 4f8bd8b commit 24da92b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions long-polling/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func TestStart(t *testing.T) {
}

stop := func() {
err := server.Stop(10 * time.Second)
err := server.Stop(100 * time.Second)
if err != nil {
t.Fatal(err)
}
Expand Down Expand Up @@ -76,7 +76,7 @@ func TestStart(t *testing.T) {
func TestStop(t *testing.T) {
server := long_polling.Server{}

err := server.Stop(10 * time.Second)
err := server.Stop(100 * time.Second)
if err != nil {
t.Fatal(err)
}
Expand Down

0 comments on commit 24da92b

Please sign in to comment.