Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
d9ccbf04
Commit
d9ccbf04
authored
Nov 11, 2014
by
Taylor Gerring
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move test bootstrap to main_test.go
parent
cd94b5ff
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
5 deletions
+14
-5
main_test.go
ethutil/main_test.go
+8
-0
size_test.go
ethutil/size_test.go
+6
-2
value_test.go
ethutil/value_test.go
+0
-3
No files found.
ethutil/main_test.go
0 → 100644
View file @
d9ccbf04
package
ethutil
import
(
checker
"gopkg.in/check.v1"
"testing"
)
func
Test
(
t
*
testing
.
T
)
{
checker
.
TestingT
(
t
)
}
ethutil/size_test.go
View file @
d9ccbf04
package
ethutil
package
ethutil
import
(
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
data1
:=
2381273
data2
:=
2192
data2
:=
2192
data3
:=
12
data3
:=
12
...
...
ethutil/value_test.go
View file @
d9ccbf04
...
@@ -3,11 +3,8 @@ package ethutil
...
@@ -3,11 +3,8 @@ package ethutil
import
(
import
(
checker
"gopkg.in/check.v1"
checker
"gopkg.in/check.v1"
"math/big"
"math/big"
"testing"
)
)
func
Test
(
t
*
testing
.
T
)
{
checker
.
TestingT
(
t
)
}
type
ValueSuite
struct
{}
type
ValueSuite
struct
{}
var
_
=
checker
.
Suite
(
&
ValueSuite
{})
var
_
=
checker
.
Suite
(
&
ValueSuite
{})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment