aboutsummaryrefslogtreecommitdiffstats
path: root/tests/block_test_util.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2015-08-21 00:22:50 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-08-21 00:22:50 +0800
commit36f7fe61c3697a3e99b95fe3f3c12fc16ed2d39f (patch)
tree66292b2e41ef06b6074051dafcd33fe57c0e7c2d /tests/block_test_util.go
parent54088b0b8b76b9538cf10fa5a606a4170f571065 (diff)
downloaddexon-36f7fe61c3697a3e99b95fe3f3c12fc16ed2d39f.tar.gz
dexon-36f7fe61c3697a3e99b95fe3f3c12fc16ed2d39f.tar.zst
dexon-36f7fe61c3697a3e99b95fe3f3c12fc16ed2d39f.zip
core, tests: Double SUICIDE fix
Diffstat (limited to 'tests/block_test_util.go')
-rw-r--r--tests/block_test_util.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/block_test_util.go b/tests/block_test_util.go
index 8cb7b7882..d47c2b101 100644
--- a/tests/block_test_util.go
+++ b/tests/block_test_util.go
@@ -150,7 +150,7 @@ func runBlockTests(bt map[string]*BlockTest, skipTests []string) error {
// test the block
if err := runBlockTest(test); err != nil {
- return err
+ return fmt.Errorf("%s: %v", name, err)
}
glog.Infoln("Block test passed: ", name)