From 10c33612fab208bcafcf7a99a4934c5e580d241a Mon Sep 17 00:00:00 2001 From: Weixie Cui Date: Fri, 17 Apr 2026 20:45:17 +0800 Subject: [PATCH] accounts/abi: fix TestConvertType error message expected values --- accounts/abi/reflect_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/accounts/abi/reflect_test.go b/accounts/abi/reflect_test.go index f5e509c52f..9484e798bf 100644 --- a/accounts/abi/reflect_test.go +++ b/accounts/abi/reflect_test.go @@ -237,10 +237,10 @@ func TestConvertType(t *testing.T) { t.Errorf("ConvertType failed, got %v want %v", out2[1].Y, big.NewInt(2)) } if out2[1].X.Cmp(big.NewInt(3)) != 0 { - t.Errorf("ConvertType failed, got %v want %v", out2[0].X, big.NewInt(1)) + t.Errorf("ConvertType failed, got %v want %v", out2[0].X, big.NewInt(3)) } if out2[1].Y.Cmp(big.NewInt(4)) != 0 { - t.Errorf("ConvertType failed, got %v want %v", out2[1].Y, big.NewInt(2)) + t.Errorf("ConvertType failed, got %v want %v", out2[1].Y, big.NewInt(4)) } // Array Type val3 := reflect.New(reflect.ArrayOf(2, reflect.StructOf(fields)))