Skip to content

Commit

Permalink
fixed chapter16 server_test
Browse files Browse the repository at this point in the history
  • Loading branch information
gleaming9 committed Nov 13, 2024
1 parent 6d6b9b5 commit 90d8dc6
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 @@ -22,7 +22,7 @@ func TestServer_Run(t *testing.T) {
eg, ctx := errgroup.WithContext(ctx)

mux := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "Hello, %s", r.URL.Path[1:])
fmt.Fprintf(w, "Hello, %s!", r.URL.Path[1:])
})

eg.Go(func() error {
Expand Down

0 comments on commit 90d8dc6

Please sign in to comment.