Skip to content

Commit

Permalink
add comment in test
Browse files Browse the repository at this point in the history
  • Loading branch information
99adarsh committed Nov 29, 2024
1 parent 9a1a44e commit b30abff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x/amm/keeper/query_join_pool_estimation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ func TestJoinPoolEstimation(t *testing.T) {
AmountsIn: sdk.NewCoins(sdk.NewInt64Coin("denom1", 100), sdk.NewInt64Coin("denom2", 200)),
})
require.NoError(t, err)
// Pool ratio is 1:1, so join pool will accept only 100denom1,100denom2
require.Equal(t, sdk.Coins(resp.AmountsIn).String(), "100denom1,100denom2")
require.Equal(t, resp.ShareAmountOut.String(), "100000000000000000amm/pool/1")
}

0 comments on commit b30abff

Please sign in to comment.