From 2dfcc11f7a6d4791ba627222d783eedf268b4b95 Mon Sep 17 00:00:00 2001 From: dfawley Date: Fri, 30 Mar 2018 13:35:21 -0700 Subject: [PATCH] status: remove redundant import (#1947) --- status/status_test.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/status/status_test.go b/status/status_test.go index 5fb6bb40..f97fadd7 100644 --- a/status/status_test.go +++ b/status/status_test.go @@ -24,8 +24,6 @@ import ( "reflect" "testing" - "github.com/golang/protobuf/ptypes/any" - "github.com/golang/protobuf/proto" "github.com/golang/protobuf/ptypes" apb "github.com/golang/protobuf/ptypes/any" @@ -124,7 +122,7 @@ func TestFromErrorOK(t *testing.T) { type customError struct { Code codes.Code Message string - Details []*any.Any + Details []*apb.Any } func (c customError) Error() string { @@ -143,7 +141,7 @@ func (c customError) GRPCStatus() *Status { func TestFromErrorImplementsInterface(t *testing.T) { code, message := codes.Internal, "test description" - details := []*any.Any{{ + details := []*apb.Any{{ TypeUrl: "testUrl", Value: []byte("testValue"), }}