aboutsummaryrefslogtreecommitdiffstats
path: root/tests/block_test_util.go
diff options
context:
space:
mode:
authorEli <elihanover@yahoo.com>2018-05-02 16:20:19 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-05-02 16:20:19 +0800
commitd76c5ca532bfeba5469ed42985630116a1f41ebe (patch)
tree6c63efd2c949fc30f90024a575a94f6ad11c0cf3 /tests/block_test_util.go
parentc1ea52757358d2e9d87c636a9519ffdc74ea8ac0 (diff)
downloaddexon-d76c5ca532bfeba5469ed42985630116a1f41ebe.tar.gz
dexon-d76c5ca532bfeba5469ed42985630116a1f41ebe.tar.zst
dexon-d76c5ca532bfeba5469ed42985630116a1f41ebe.zip
tests: golint fixes for tests directory (#16640)
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 beba48483..579e783b1 100644
--- a/tests/block_test_util.go
+++ b/tests/block_test_util.go
@@ -104,7 +104,7 @@ func (t *BlockTest) Run() error {
return err
}
if gblock.Hash() != t.json.Genesis.Hash {
- return fmt.Errorf("genesis block hash doesn't match test: computed=%x, test=%x\n", gblock.Hash().Bytes()[:6], t.json.Genesis.Hash[:6])
+ return fmt.Errorf("genesis block hash doesn't match test: computed=%x, test=%x", gblock.Hash().Bytes()[:6], t.json.Genesis.Hash[:6])
}
if gblock.Root() != t.json.Genesis.StateRoot {
return fmt.Errorf("genesis block state root does not match test: computed=%x, test=%x", gblock.Root().Bytes()[:6], t.json.Genesis.StateRoot[:6])