Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
luopengift committed May 11, 2024
1 parent 07c60d2 commit 956da16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func Test_Use(t *testing.T) {
)
ctx, cancel := context.WithCancel(context.Background())
defer cancel()
s := requests.NewServer(ctx, r, requests.URL(":9099"))
s := requests.NewServer(ctx, r, requests.URL("http://0.0.0.0:9099"))
s.OnShutdown(func(s *http.Server) {
t.Logf("http: %s shutdown...", s.Addr)
})
Expand Down

0 comments on commit 956da16

Please sign in to comment.