From 55231b1c83aafd2811b1dc7aa212ec6f9ec55f61 Mon Sep 17 00:00:00 2001 From: John Letey Date: Mon, 29 Apr 2024 16:45:05 +0200 Subject: [PATCH] chore: small nit --- x/aura/keeper/keeper_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/x/aura/keeper/keeper_test.go b/x/aura/keeper/keeper_test.go index 5371b81..a4b4733 100644 --- a/x/aura/keeper/keeper_test.go +++ b/x/aura/keeper/keeper_test.go @@ -18,14 +18,14 @@ func TestSendRestriction(t *testing.T) { _, err := keeper.SendRestrictionFn(ctx, from.Bytes, to.Bytes, sdk.NewCoins(sdk.NewCoin( "uusdc", math.NewInt(1_000_000), ))) - // ASSERT: Action should succeed as it's not USDY. + // ASSERT: The action should've succeeded due to different denom. require.NoError(t, err) // ACT: Attempt to send 1 USDY. _, err = keeper.SendRestrictionFn(ctx, from.Bytes, to.Bytes, sdk.NewCoins(sdk.NewCoin( keeper.Denom, ONE, ))) - // ASSERT: Action should succeed. + // ASSERT: The action should've succeeded. require.NoError(t, err) // ARRANGE: Set paused state to true. @@ -35,7 +35,7 @@ func TestSendRestriction(t *testing.T) { _, err = keeper.SendRestrictionFn(ctx, from.Bytes, to.Bytes, sdk.NewCoins(sdk.NewCoin( keeper.Denom, ONE, ))) - // ASSERT: Action should succeed. + // ASSERT: The action should've failed due to module being paused. require.ErrorContains(t, err, "ausdy transfers are paused") // ARRANGE: Set paused state to false.