aboutsummaryrefslogtreecommitdiffstats
path: root/blockpool/test/util.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-21 00:42:25 +0800
committerobscuren <geffobscura@gmail.com>2015-03-21 00:42:25 +0800
commit1821d1af48e5fa11eb81fe7f6e5372737bb36ec9 (patch)
treed534f2059f6c14ac7f2dd1ab9996ef0cd4c34b95 /blockpool/test/util.go
parenta59bb053f4d2a4a28341c645c051c4c323581a1b (diff)
parent66b29899c474abeab6c66060c9ea5bbff85b9efb (diff)
downloaddexon-1821d1af48e5fa11eb81fe7f6e5372737bb36ec9.tar
dexon-1821d1af48e5fa11eb81fe7f6e5372737bb36ec9.tar.gz
dexon-1821d1af48e5fa11eb81fe7f6e5372737bb36ec9.tar.bz2
dexon-1821d1af48e5fa11eb81fe7f6e5372737bb36ec9.tar.lz
dexon-1821d1af48e5fa11eb81fe7f6e5372737bb36ec9.tar.xz
dexon-1821d1af48e5fa11eb81fe7f6e5372737bb36ec9.tar.zst
dexon-1821d1af48e5fa11eb81fe7f6e5372737bb36ec9.zip
Merge branch 'frontier/blockpool' of https://github.com/ethersphere/go-ethereum into ethersphere-frontier/blockpool
Diffstat (limited to 'blockpool/test/util.go')
-rw-r--r--blockpool/test/util.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/blockpool/test/util.go b/blockpool/test/util.go
index e183bf1d1..0349493c3 100644
--- a/blockpool/test/util.go
+++ b/blockpool/test/util.go
@@ -6,6 +6,8 @@ import (
"time"
)
+// miscellaneous test helpers
+
func CheckInt(name string, got int, expected int, t *testing.T) (err error) {
if got != expected {
t.Errorf("status for %v incorrect. expected %v, got %v", name, expected, got)