aboutsummaryrefslogtreecommitdiffstats
path: root/blockpool/test/util.go
diff options
context:
space:
mode:
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)