Skip to content

Commit

Permalink
equal error
Browse files Browse the repository at this point in the history
  • Loading branch information
jgimeno committed Mar 11, 2021
1 parent ee2cd0f commit 9f60613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/bank/handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func TestSendToModuleAccount(t *testing.T) {
t.Run(tc.name, func(t *testing.T) {
_, err := handler(ctx, tc.msg)
if tc.expectedError != nil {
require.Error(t, err)
require.EqualError(t, err, tc.expectedError.Error())
} else {
require.NoError(t, err)
}
Expand Down

0 comments on commit 9f60613

Please sign in to comment.