mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 21:26:42 +00:00
make sure the tmp is not be covered
This commit is contained in:
parent
0d362be009
commit
884cbae493
1 changed files with 1 additions and 1 deletions
|
|
@ -435,7 +435,7 @@ func TestEncodeToBytes(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestEncodeAppendToBytes(t *testing.T) {
|
||||
buffer := make([]byte, 3)
|
||||
buffer := make([]byte, 20)
|
||||
runEncTests(t, func(val interface{}) ([]byte, error) {
|
||||
w := NewEncoderBuffer(nil)
|
||||
defer w.Flush()
|
||||
|
|
|
|||
Loading…
Reference in a new issue