diff --git a/packages/contracts/test/amo/UbiquityAMOMinter.t.sol b/packages/contracts/test/amo/UbiquityAMOMinter.t.sol index 665675c56..2f5b92019 100644 --- a/packages/contracts/test/amo/UbiquityAMOMinter.t.sol +++ b/packages/contracts/test/amo/UbiquityAMOMinter.t.sol @@ -187,7 +187,7 @@ contract UbiquityAMOMinterTest is DiamondTestSetup { // Ensure exceeding the borrow cap reverts vm.prank(owner); - vm.expectRevert("Borrow cap"); + vm.expectRevert("Borrow cap exceeded"); amoMinter.giveCollatToAMO(address(aaveAMO), collatAmount); }