fix tests

This commit is contained in:
mingda
2020-07-12 15:30:32 +08:00
parent 739195b326
commit d2318b4e8e
5 changed files with 27 additions and 27 deletions

View File

@@ -83,7 +83,7 @@ describe("Trader", () => {
// could not buy all base balance
await assert.rejects(
ctx.DODO.methods.buyBaseToken(decimalStr("10000"), decimalStr("10010")).send(ctx.sendParam(trader)),
/DODO_BASE_TOKEN_BALANCE_NOT_ENOUGH/
/DODO_BASE_BALANCE_NOT_ENOUGH/
)
// when buy amount close to base balance, price will increase quickly