From 81d4cafb324d8c4352a40d2cf33c2085d029cd37 Mon Sep 17 00:00:00 2001 From: Robert Zaremba Date: Fri, 1 Dec 2017 22:32:04 +0100 Subject: accounts/abi: add unpack into array test --- accounts/abi/unpack_test.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'accounts/abi/unpack_test.go') diff --git a/accounts/abi/unpack_test.go b/accounts/abi/unpack_test.go index 89b3bce8c..391095073 100644 --- a/accounts/abi/unpack_test.go +++ b/accounts/abi/unpack_test.go @@ -336,6 +336,11 @@ func TestMethodMultiReturn(t *testing.T) { &[]interface{}{&expected.Int, &expected.String}, "", "Can unpack into a slice", + }, { + &[2]interface{}{&bigint, new(string)}, + &[2]interface{}{&expected.Int, &expected.String}, + "", + "Can unpack into an array", }, { &[]interface{}{new(int), new(int)}, &[]interface{}{&expected.Int, &expected.String}, -- cgit v1.2.3