Skip to content

Commit

Permalink
remove uber leak thing
Browse files Browse the repository at this point in the history
  • Loading branch information
quii committed Feb 14, 2019
1 parent 180fecd commit 4738004
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions context/v3/context_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package v1

import (
"context"
"go.uber.org/goleak"
"net/http"
"net/http/httptest"
"testing"
Expand All @@ -13,7 +12,6 @@ func TestServer(t *testing.T) {
data := "hello, world"

t.Run("returns data from store", func(t *testing.T) {
defer goleak.VerifyNone(t)
store := &SpyStore{response: data, t: t}
svr := Server(store)

Expand All @@ -28,7 +26,6 @@ func TestServer(t *testing.T) {
})

t.Run("tells store to cancel work if request is cancelled", func(t *testing.T) {
defer goleak.VerifyNone(t)
store := &SpyStore{response: data, t: t}
svr := Server(store)

Expand Down

0 comments on commit 4738004

Please sign in to comment.