From 83e71f3e4fcf137bb36b63675528f2f394b5eeaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caner=20=C3=87=C4=B1dam?= Date: Thu, 28 Dec 2017 18:19:24 +0300 Subject: [PATCH] fix order of s.Equal args --- geth/account/accounts_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geth/account/accounts_test.go b/geth/account/accounts_test.go index 56a0dfa63..aac0be36f 100644 --- a/geth/account/accounts_test.go +++ b/geth/account/accounts_test.go @@ -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() {