Skip to content

Commit 43e3df6

Browse files
authored
Fix expectRevert (#9)
1 parent b6f4548 commit 43e3df6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ERC4626.test.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ abstract contract ERC4626Test is ERC4626Prop {
194194
vm.assume(assets > 0);
195195
_approve(_vault_, owner, caller, 0);
196196
vm.prank(caller);
197-
expectRevert(); // We do not provide a specific revert reason, as it may vary depending on the implementation.
197+
vm.expectRevert(); // We do not provide a specific revert reason, as it may vary depending on the implementation.
198198
IERC4626(_vault_).withdraw(assets, receiver, owner);
199199
}
200200

@@ -240,7 +240,7 @@ abstract contract ERC4626Test is ERC4626Prop {
240240
vm.assume(shares > 0);
241241
_approve(_vault_, owner, caller, 0);
242242
vm.prank(caller);
243-
expectRevert(); // We do not provide a specific revert reason, as it may vary depending on the implementation.
243+
vm.expectRevert(); // We do not provide a specific revert reason, as it may vary depending on the implementation.
244244
IERC4626(_vault_).redeem(shares, receiver, owner);
245245
}
246246

0 commit comments

Comments
 (0)