Skip to content

Commit

Permalink
fix test equalvalues
Browse files Browse the repository at this point in the history
  • Loading branch information
Reecepbcups committed Dec 5, 2023
1 parent 014be87 commit f6fe19d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions interchain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ func TestInterchain_CreateUser(t *testing.T) {

actualBalance, err := gaia0.GetBalance(ctx, user.FormattedAddress(), gaia0.Config().Denom)
require.NoError(t, err)
require.Equal(t, int64(10000), actualBalance)
require.EqualValues(t, int64(10000), actualBalance.Int64())

})

Expand All @@ -241,7 +241,7 @@ func TestInterchain_CreateUser(t *testing.T) {

actualBalance, err := gaia0.GetBalance(ctx, users[0].FormattedAddress(), gaia0.Config().Denom)
require.NoError(t, err)
require.Equal(t, int64(10000), actualBalance)
require.EqualValues(t, int64(10000), actualBalance.Int64())
})
}

Expand Down Expand Up @@ -334,7 +334,7 @@ func broadcastTxCosmosChainTest(t *testing.T, relayerImpl ibc.RelayerImplementat

dstFinalBalance, err := gaia1.GetBalance(ctx, testUser.(*cosmos.CosmosWallet).FormattedAddressWithPrefix(gaia1.Config().Bech32Prefix), dstIbcDenom)
require.NoError(t, err, "failed to get balance from dest chain")
require.Equal(t, sendAmount, dstFinalBalance)
require.Equal(t, sendAmount, dstFinalBalance.Int64())
})
}

Expand Down

0 comments on commit f6fe19d

Please sign in to comment.