From 4738004d60417af71afb235c3fa0542797ef0824 Mon Sep 17 00:00:00 2001 From: Chris James Date: Thu, 14 Feb 2019 10:53:00 +0000 Subject: [PATCH] remove uber leak thing --- context/v3/context_test.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/context/v3/context_test.go b/context/v3/context_test.go index 6b6722aba..e2b9ab95f 100644 --- a/context/v3/context_test.go +++ b/context/v3/context_test.go @@ -2,7 +2,6 @@ package v1 import ( "context" - "go.uber.org/goleak" "net/http" "net/http/httptest" "testing" @@ -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) @@ -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)