accounts/abi: fix TestUnmarshal slice length fatal message

This commit is contained in:
Weixie Cui 2026-04-17 21:39:27 +08:00
parent eb67d61933
commit ddcad560f6

View file

@ -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}) {