|
|
@ -336,6 +336,11 @@ func TestMethodMultiReturn(t *testing.T) { |
|
|
|
&[]interface{}{&expected.Int, &expected.String}, |
|
|
|
&[]interface{}{&expected.Int, &expected.String}, |
|
|
|
"", |
|
|
|
"", |
|
|
|
"Can unpack into a slice", |
|
|
|
"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{}{new(int), new(int)}, |
|
|
|
&[]interface{}{&expected.Int, &expected.String}, |
|
|
|
&[]interface{}{&expected.Int, &expected.String}, |
|
|
|