style: make lint-fix everything (#15631)
Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
co-authored by
Julien Robert
parent
d9e04c56c6
commit
b009a75eea
@@ -657,11 +657,11 @@ func TestRejectUnknownFieldsFlat(t *testing.T) {
|
||||
func TestPackedEncoding(t *testing.T) {
|
||||
data := &testpb.TestRepeatedUints{Nums: []uint64{12, 13}}
|
||||
|
||||
marshalled, err := proto.Marshal(data)
|
||||
marshaled, err := proto.Marshal(data)
|
||||
require.NoError(t, err)
|
||||
|
||||
unmarshalled := data.ProtoReflect().Descriptor()
|
||||
_, err = decode.RejectUnknownFields(marshalled, unmarshalled, false, ProtoResolver)
|
||||
_, err = decode.RejectUnknownFields(marshaled, unmarshalled, false, ProtoResolver)
|
||||
require.NoError(t, err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user