mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 13:16:42 +00:00
rlp: fix mismatch in Decode test message (new(uint) vs new(int))
This commit is contained in:
parent
b381804eb1
commit
e9dd95744d
1 changed files with 1 additions and 1 deletions
|
|
@ -350,7 +350,7 @@ func TestDecodeErrors(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := Decode(r, new(uint)); err != io.EOF {
|
if err := Decode(r, new(uint)); err != io.EOF {
|
||||||
t.Errorf("Decode(r, new(int)) error mismatch, got %q, want %q", err, io.EOF)
|
t.Errorf("Decode(r, new(uint)) error mismatch, got %q, want %q", err, io.EOF)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue