aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-05-12 21:36:58 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-05-12 21:36:58 +0800
commit251b3c6406aee5876c87016bd088c8cefe7c08f6 (patch)
treed6fded65d2cfb07b423e398309e4700ae63d8972
parentcc21706c5007e8f400df536591948aee69e82d2f (diff)
downloaddexon-251b3c6406aee5876c87016bd088c8cefe7c08f6.tar
dexon-251b3c6406aee5876c87016bd088c8cefe7c08f6.tar.gz
dexon-251b3c6406aee5876c87016bd088c8cefe7c08f6.tar.bz2
dexon-251b3c6406aee5876c87016bd088c8cefe7c08f6.tar.lz
dexon-251b3c6406aee5876c87016bd088c8cefe7c08f6.tar.xz
dexon-251b3c6406aee5876c87016bd088c8cefe7c08f6.tar.zst
dexon-251b3c6406aee5876c87016bd088c8cefe7c08f6.zip
accounts/abi: fix abi test for go vet...
-rw-r--r--accounts/abi/abi_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/accounts/abi/abi_test.go b/accounts/abi/abi_test.go
index df89ba138..7916e595d 100644
--- a/accounts/abi/abi_test.go
+++ b/accounts/abi/abi_test.go
@@ -305,10 +305,10 @@ func TestUnpackSetInterfaceSlice(t *testing.T) {
t.Fatal(err)
}
if *var1 != 1 {
- t.Errorf("expected var1 to be 1, got", *var1)
+ t.Error("expected var1 to be 1, got", *var1)
}
if *var2 != 2 {
- t.Errorf("expected var2 to be 2, got", *var2)
+ t.Error("expected var2 to be 2, got", *var2)
}
out = []interface{}{var1}