fix order of s.Equal args

This commit is contained in:
Caner Çıdam 2017-12-28 18:19:24 +03:00 committed by Frank Mueller
parent 74f38d4f94
commit 83e71f3e4f
1 changed files with 2 additions and 2 deletions

View File

@ -196,7 +196,7 @@ func (s *ManagerTestSuite) TestCreateAccount() {
s.nodeManager.EXPECT().AccountKeyStore().Return(nil, testErrKeyStore)
_, _, _, err = s.accManager.CreateAccount(s.password)
s.Equal(err, testErrKeyStore)
s.Equal(testErrKeyStore, err)
}
func (s *ManagerTestSuite) TestRecoverAccount() {
@ -210,7 +210,7 @@ func (s *ManagerTestSuite) TestRecoverAccount() {
s.nodeManager.EXPECT().AccountKeyStore().Return(nil, testErrKeyStore)
_, _, err = s.accManager.RecoverAccount(s.password, s.mnemonic)
s.Equal(err, testErrKeyStore)
s.Equal(testErrKeyStore, err)
}
func (s *ManagerTestSuite) TestSelectAccount() {