diff --git a/pkg/p2p/protobuf/protobuf_test.go b/pkg/p2p/protobuf/protobuf_test.go index cc3e124e..7dffa70a 100644 --- a/pkg/p2p/protobuf/protobuf_test.go +++ b/pkg/p2p/protobuf/protobuf_test.go @@ -54,7 +54,7 @@ func TestProtobufEncodingDecoding(t *testing.T) { } if !bytes.Equal(testBytes, resBytes) { - t.Fatalf("expected %v, got %v", test, res) + t.Fatalf("expected %v, got %v", testBytes, resBytes) } }) }