Skip to content

Commit

Permalink
fix int type casting in test
Browse files Browse the repository at this point in the history
  • Loading branch information
akhilchainani committed Dec 16, 2024
1 parent 2d9ad87 commit 5d41fdf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func TestRenounceTimelockDeployer(t *testing.T) {

r, err := tl.GetRoleMemberCount(&bind.CallOpts{}, adminRole)
require.NoError(t, err)
require.Equal(t, 2, r.Int64())
require.Equal(t, int64(2), r.Int64())

// Revoke Deployer
e, err = ApplyChangesets(t, e, nil, []ChangesetApplication{
Expand All @@ -128,7 +128,7 @@ func TestRenounceTimelockDeployer(t *testing.T) {
// Check that the deployer is no longer an admin
r, err = tl.GetRoleMemberCount(&bind.CallOpts{}, adminRole)
require.NoError(t, err)
require.Equal(t, 1, r.Int64())
require.Equal(t, int64(1), r.Int64())

// Retrive the admin address
admin, err := tl.GetRoleMember(&bind.CallOpts{}, adminRole, big.NewInt(0))
Expand Down

0 comments on commit 5d41fdf

Please sign in to comment.