aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/abi/numbers_test.go
diff options
context:
space:
mode:
authorWenbiao Zheng <delweng@gmail.com>2018-06-20 17:46:29 +0800
committerGuillaume Ballet <gballet@gmail.com>2018-06-20 17:46:29 +0800
commit61a5976368684faaba7468d253fb1b8d194f9e27 (patch)
tree5377b73e75677465e179cb2a1fca8576b35990d6 /accounts/abi/numbers_test.go
parent88c42ab4e7ae7aba964383ad490f4d7b6a7fd203 (diff)
downloadgo-tangerine-61a5976368684faaba7468d253fb1b8d194f9e27.tar
go-tangerine-61a5976368684faaba7468d253fb1b8d194f9e27.tar.gz
go-tangerine-61a5976368684faaba7468d253fb1b8d194f9e27.tar.bz2
go-tangerine-61a5976368684faaba7468d253fb1b8d194f9e27.tar.lz
go-tangerine-61a5976368684faaba7468d253fb1b8d194f9e27.tar.xz
go-tangerine-61a5976368684faaba7468d253fb1b8d194f9e27.tar.zst
go-tangerine-61a5976368684faaba7468d253fb1b8d194f9e27.zip
accounts: remove deadcode isSigned (#16990)
Diffstat (limited to 'accounts/abi/numbers_test.go')
-rw-r--r--accounts/abi/numbers_test.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/accounts/abi/numbers_test.go b/accounts/abi/numbers_test.go
index b9ff5aef1..d25a5abcb 100644
--- a/accounts/abi/numbers_test.go
+++ b/accounts/abi/numbers_test.go
@@ -19,7 +19,6 @@ package abi
import (
"bytes"
"math/big"
- "reflect"
"testing"
)
@@ -32,13 +31,3 @@ func TestNumberTypes(t *testing.T) {
t.Errorf("expected %x got %x", ubytes, unsigned)
}
}
-
-func TestSigned(t *testing.T) {
- if isSigned(reflect.ValueOf(uint(10))) {
- t.Error("signed")
- }
-
- if !isSigned(reflect.ValueOf(int(10))) {
- t.Error("not signed")
- }
-}