Skip to content

Commit

Permalink
Add a missing leaktest check.
Browse files Browse the repository at this point in the history
  • Loading branch information
creachadair committed Nov 16, 2024
1 parent 14ea317 commit 537b2c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jrpc2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1350,6 +1350,8 @@ func TestServer_newContext(t *testing.T) {
}

func TestClient_IsStopped(t *testing.T) {
defer leaktest.Check(t)()

clich := make(chan *jrpc2.Client, 1)
loc := server.NewLocal(handler.Map{}, &server.LocalOptions{
Client: &jrpc2.ClientOptions{
Expand Down

0 comments on commit 537b2c7

Please sign in to comment.