diff options
author | Eli <elihanover@yahoo.com> | 2018-05-02 16:20:19 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-05-02 16:20:19 +0800 |
commit | d76c5ca532bfeba5469ed42985630116a1f41ebe (patch) | |
tree | 6c63efd2c949fc30f90024a575a94f6ad11c0cf3 /tests/block_test_util.go | |
parent | c1ea52757358d2e9d87c636a9519ffdc74ea8ac0 (diff) | |
download | go-tangerine-d76c5ca532bfeba5469ed42985630116a1f41ebe.tar go-tangerine-d76c5ca532bfeba5469ed42985630116a1f41ebe.tar.gz go-tangerine-d76c5ca532bfeba5469ed42985630116a1f41ebe.tar.bz2 go-tangerine-d76c5ca532bfeba5469ed42985630116a1f41ebe.tar.lz go-tangerine-d76c5ca532bfeba5469ed42985630116a1f41ebe.tar.xz go-tangerine-d76c5ca532bfeba5469ed42985630116a1f41ebe.tar.zst go-tangerine-d76c5ca532bfeba5469ed42985630116a1f41ebe.zip |
tests: golint fixes for tests directory (#16640)
Diffstat (limited to 'tests/block_test_util.go')
-rw-r--r-- | tests/block_test_util.go | 2 |
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]) |