[testing] Add utility method to generate fake message from protobuf

This commit is contained in:
2020-01-01 17:39:15 +01:00
parent a89a045e5c
commit 0a3e47f001
22 changed files with 343 additions and 310 deletions

View File

@@ -186,7 +186,6 @@ func (p *Buffer) DecodeVarint() (x uint64, err error) {
if b&0x80 == 0 {
goto done
}
// x -= 0x80 << 63 // Always zero.
return 0, errOverflow