Skip to content

Commit

Permalink
remove repeated, these apply a little odd in the rewriter
Browse files Browse the repository at this point in the history
  • Loading branch information
kalamay committed Nov 21, 2024
1 parent 827e5fc commit 801568e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions proto/rewrite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 801568e

Please sign in to comment.