aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/abi/abi_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/abi/abi_test.go')
-rw-r--r--accounts/abi/abi_test.go10
1 files changed, 6 insertions, 4 deletions
diff --git a/accounts/abi/abi_test.go b/accounts/abi/abi_test.go
index 644a388e3..1ae351730 100644
--- a/accounts/abi/abi_test.go
+++ b/accounts/abi/abi_test.go
@@ -22,7 +22,6 @@ import (
"fmt"
"log"
"math/big"
- "reflect"
"strings"
"testing"
@@ -75,9 +74,12 @@ func TestReader(t *testing.T) {
}
// deep equal fails for some reason
- t.Skip()
- if !reflect.DeepEqual(abi, exp) {
- t.Errorf("\nabi: %v\ndoes not match exp: %v", abi, exp)
+ //t.Skip()
+ // Check with String() instead
+ expS := fmt.Sprintf("%v",exp)
+ gotS := fmt.Sprintf("%v", abi)
+ if expS != gotS {
+ t.Errorf("\nGot abi: \n%v\ndoes not match expected \n%v", abi, exp)
}
}