accounts/abi: remove isSigned test case

This commit is contained in:
Delweng Zheng 2018-06-15 17:54:40 +08:00
parent 5baa2bf61c
commit af16c11d35

View file

@ -19,7 +19,6 @@ package abi
import ( import (
"bytes" "bytes"
"math/big" "math/big"
"reflect"
"testing" "testing"
) )
@ -32,13 +31,3 @@ func TestNumberTypes(t *testing.T) {
t.Errorf("expected %x got %x", ubytes, unsigned) 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")
}
}