mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-12 01:41:36 +00:00
accounts/abi: fix TestUnmarshal slice length fatal message
This commit is contained in:
parent
eb67d61933
commit
ddcad560f6
1 changed files with 1 additions and 1 deletions
|
|
@ -801,7 +801,7 @@ func TestUnmarshal(t *testing.T) {
|
|||
}
|
||||
|
||||
if len(outAddrStruct.B) != 2 {
|
||||
t.Fatal("expected 1 item, got", len(outAddrStruct.B))
|
||||
t.Fatal("expected 2 item, got", len(outAddrStruct.B))
|
||||
}
|
||||
|
||||
if outAddrStruct.B[0] != (common.Address{2}) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue