Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Mar 11, 2024
1 parent f5246df commit 24679de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/module/module_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ func TestCoreAPIManager_PreBlock(t *testing.T) {
require.NoError(t, err)

// test error
mockAppModule1.EXPECT().PreBlock(gomock.Any()).Times(1).Return(nil, errors.New("some error"))
mockAppModule1.EXPECT().PreBlock(gomock.Any()).Times(1).Return(errors.New("some error"))
err = mm.PreBlock(sdk.Context{})
require.EqualError(t, err, "some error")
}
Expand Down

0 comments on commit 24679de

Please sign in to comment.