Skip to content

Commit

Permalink
fix: Fix error in a revert message of test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmtzinf committed Dec 27, 2021
1 parent f930348 commit abaaa2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test-suites/validation-logic.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ makeSuite('ValidationLogic: Edge cases', (testEnv: TestEnv) => {
'0x00',
0
)
).to.be.revertedWith(VL_NO_ACTIVE_RESERVE);
).to.be.revertedWith(RESERVE_INACTIVE);
});

it('validateFlashLoanSimple() with paused reserve (revert expected)', async () => {
Expand Down Expand Up @@ -843,7 +843,7 @@ makeSuite('ValidationLogic: Edge cases', (testEnv: TestEnv) => {

await expect(
pool.connect(user.signer).flashLoanSimple(user.address, weth.address, 0, '0x10', 0)
).to.be.revertedWith(VL_NO_ACTIVE_RESERVE);
).to.be.revertedWith(RESERVE_INACTIVE);
});

it('validateSetUserEMode() to undefined emode category (revert expected)', async () => {
Expand Down

0 comments on commit abaaa2c

Please sign in to comment.