Skip to content

Commit

Permalink
fix warning in test
Browse files Browse the repository at this point in the history
  • Loading branch information
pkieltyka committed Jan 3, 2022
1 parent e4fe258 commit ba10645
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mux_test.go
Expand Up @@ -1574,7 +1574,8 @@ func TestMuxContextIsThreadSafe(t *testing.T) {
w := httptest.NewRecorder()
r, err := http.NewRequest("GET", "/ok", nil)
if err != nil {
t.Fatal(err)
t.Error(err)
return
}

ctx, cancel := context.WithCancel(r.Context())
Expand Down

0 comments on commit ba10645

Please sign in to comment.