added valid sorted coin testcase
This commit is contained in:
parent
2468b64cff
commit
66b91ee7c7
|
@ -87,6 +87,18 @@ func TestBalanceValidate(t *testing.T) {
|
|||
},
|
||||
true,
|
||||
},
|
||||
{
|
||||
"valid sorted coins",
|
||||
bank.Balance{
|
||||
Address: "cosmos1yq8lgssgxlx9smjhes6ryjasmqmd3ts2559g0t",
|
||||
Coins: sdk.Coins{
|
||||
sdk.NewInt64Coin("atom", 2),
|
||||
sdk.NewInt64Coin("batom", 12),
|
||||
sdk.NewInt64Coin("zatom", 2),
|
||||
},
|
||||
},
|
||||
false,
|
||||
},
|
||||
}
|
||||
|
||||
for _, tc := range testCases {
|
||||
|
|
Loading…
Reference in New Issue