diff --git a/ethutil/main_test.go b/ethutil/main_test.go new file mode 100644 index 0000000000..94f34677d0 --- /dev/null +++ b/ethutil/main_test.go @@ -0,0 +1,8 @@ +package ethutil + +import ( + checker "gopkg.in/check.v1" + "testing" +) + +func Test(t *testing.T) { checker.TestingT(t) } diff --git a/ethutil/size_test.go b/ethutil/size_test.go index 9127521cb9..098e41cd4f 100644 --- a/ethutil/size_test.go +++ b/ethutil/size_test.go @@ -1,10 +1,14 @@ package ethutil import ( - "testing" + checker "gopkg.in/check.v1" ) -func TestStorageSizeString(t *testing.T) { +type SizeSuite struct{} + +var _ = checker.Suite(&SizeSuite{}) + +func (s *SizeSuite) TestStorageSizeString(c *checker.C) { data1 := 2381273 data2 := 2192 data3 := 12 diff --git a/ethutil/value_test.go b/ethutil/value_test.go index 1c62d3e201..7c58d3b563 100644 --- a/ethutil/value_test.go +++ b/ethutil/value_test.go @@ -3,11 +3,8 @@ package ethutil import ( checker "gopkg.in/check.v1" "math/big" - "testing" ) -func Test(t *testing.T) { checker.TestingT(t) } - type ValueSuite struct{} var _ = checker.Suite(&ValueSuite{})