From 7ec9c48a457d51f66f47e4da68215d27f7aab041 Mon Sep 17 00:00:00 2001 From: Manjunath A Kumatagi Date: Wed, 30 Aug 2017 17:35:43 +0530 Subject: [PATCH] pkg/pbutil: Fix go vet errors --- pkg/pbutil/pbutil_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/pbutil/pbutil_test.go b/pkg/pbutil/pbutil_test.go index fd361ec502a..5a8dd9a17ef 100644 --- a/pkg/pbutil/pbutil_test.go +++ b/pkg/pbutil/pbutil_test.go @@ -24,7 +24,7 @@ func TestMarshaler(t *testing.T) { data := []byte("test data") m := &fakeMarshaler{data: data} if g := MustMarshal(m); !reflect.DeepEqual(g, data) { - t.Errorf("data = %s, want %s", g, m) + t.Errorf("data = %s, want %s", g, m.data) } } @@ -43,7 +43,7 @@ func TestUnmarshaler(t *testing.T) { m := &fakeUnmarshaler{} MustUnmarshal(m, data) if !reflect.DeepEqual(m.data, data) { - t.Errorf("data = %s, want %s", m.data, m) + t.Errorf("data = %s, want %s", m.data, data) } }