aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ethutil/main_test.go8
-rw-r--r--ethutil/size_test.go8
-rw-r--r--ethutil/value_test.go3
3 files changed, 14 insertions, 5 deletions
diff --git a/ethutil/main_test.go b/ethutil/main_test.go
new file mode 100644
index 000000000..94f34677d
--- /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 9127521cb..098e41cd4 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 1c62d3e20..7c58d3b56 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{})