From 7dcded9bed07b599396a48be4c65a0a69cae0cdf Mon Sep 17 00:00:00 2001 From: Ananya Saxena Date: Sat, 17 Oct 2020 14:24:42 -0400 Subject: [PATCH] lint fixes --- codegen/testserver/ptr_to_slice_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/codegen/testserver/ptr_to_slice_test.go b/codegen/testserver/ptr_to_slice_test.go index 8119748582..2fe498feb8 100644 --- a/codegen/testserver/ptr_to_slice_test.go +++ b/codegen/testserver/ptr_to_slice_test.go @@ -14,7 +14,6 @@ func TestPtrToSlice(t *testing.T) { c := client.New(handler.NewDefaultServer(NewExecutableSchema(Config{Resolvers: resolvers}))) - resolvers.QueryResolver.PtrToSliceContainer = func(ctx context.Context) (wrappedStruct *PtrToSliceContainer, e error) { ptrToSliceContainer := PtrToSliceContainer{ PtrToSlice: &[]string{"hello"}, @@ -22,7 +21,6 @@ func TestPtrToSlice(t *testing.T) { return &ptrToSliceContainer, nil } - t.Run("pointer to slice", func(t *testing.T) { var resp struct { PtrToSliceContainer struct {