From 870a98ccc3cd61b13d7c999d5bf6ac89755a113a Mon Sep 17 00:00:00 2001 From: Adrian Brink Date: Tue, 12 Sep 2017 17:12:19 +0200 Subject: [PATCH] Last fixes --- state/state_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/state/state_test.go b/state/state_test.go index a22e9958b..4ff367fa3 100644 --- a/state/state_test.go +++ b/state/state_test.go @@ -39,7 +39,7 @@ func TestStateCopy(t *testing.T) { stateCopy := state.Copy() assert.True(state.Equals(stateCopy), - cmn.Fmt("exppppppected state and its copy to be identical. got %v\n expected %v\n", stateCopy, state)) + cmn.Fmt("expected state and its copy to be identical. got %v\n expected %v\n", stateCopy, state)) stateCopy.LastBlockHeight++ assert.False(state.Equals(stateCopy), cmn.Fmt("expected states to be different. got same %v", state)) } @@ -47,6 +47,7 @@ func TestStateCopy(t *testing.T) { func TestStateSaveLoad(t *testing.T) { tearDown, stateDB, state := setupTestCase(t) defer tearDown(t) + assert := assert.New(t) state.LastBlockHeight++ state.Save()