From 801568edc63831c71aee71bddd87848a0331cc7d Mon Sep 17 00:00:00 2001 From: Jeremy Larkin Date: Wed, 20 Nov 2024 18:31:24 -0800 Subject: [PATCH] remove repeated, these apply a little odd in the rewriter --- proto/rewrite_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/proto/rewrite_test.go b/proto/rewrite_test.go index 13848df..5ff906d 100644 --- a/proto/rewrite_test.go +++ b/proto/rewrite_test.go @@ -297,9 +297,8 @@ func TestParseRewriteRules(t *testing.T) { } type message struct { - Flags uint64 `protobuf:"varint,2,opt,name=flags,proto3"` - Subfield *submessage `protobuf:"bytes,99,opt,name=subfield,proto3"` - Submessages []submessage `protobuf:"bytes,100,rep,name=submessages,proto3"` + Flags uint64 `protobuf:"varint,2,opt,name=flags,proto3"` + Subfield *submessage `protobuf:"bytes,99,opt,name=subfield,proto3"` } original := &message{