Move test bootstrap to main_test.go
This commit is contained in:
parent
cd94b5ffb3
commit
d9ccbf04db
8
ethutil/main_test.go
Normal file
8
ethutil/main_test.go
Normal file
@ -0,0 +1,8 @@
|
||||
package ethutil
|
||||
|
||||
import (
|
||||
checker "gopkg.in/check.v1"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func Test(t *testing.T) { checker.TestingT(t) }
|
@ -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
|
||||
|
@ -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{})
|
||||
|
Loading…
Reference in New Issue
Block a user