Skip to content

Commit

Permalink
Tidy up test
Browse files Browse the repository at this point in the history
  • Loading branch information
samstarling committed Feb 18, 2025
1 parent 03cabd1 commit 24d9d70
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ var _ = Describe("New", func() {
}
server.Listener = countingListener

By(server.URL)

// Set up the client that we're testing
apiKey := lo.RandomString(10, lo.AlphanumericCharset)
c, clientErr := New(ctx, apiKey, server.URL, "1", logger)
Expand All @@ -63,7 +61,7 @@ var _ = Describe("New", func() {
})

AfterEach(func() {
defer server.Close()
server.Close()
})

When("making concurrent requests", func() {
Expand Down

0 comments on commit 24d9d70

Please sign in to comment.