mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-12 21:01:21 +00:00
cleaner test
This commit is contained in:
@ -2,7 +2,6 @@ package state_test
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
@ -68,7 +67,7 @@ func TestRevertBlock(t *testing.T) {
|
||||
require.Nil(t, err)
|
||||
|
||||
revertedState, _ := blockExec.RevertBlock(state2, block2, block1)
|
||||
require.True(t, state1.Equals(revertedState), fmt.Sprintf("Expected:\n %v\n\nActual:\n%v", state1, revertedState))
|
||||
require.True(t, state1.Equals(revertedState), "Expected:\n%v\n\nActual:\n%v", state1, revertedState)
|
||||
|
||||
// TODO: check changes in ValSet and ConsensusParams
|
||||
}
|
||||
|
Reference in New Issue
Block a user