File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -204,6 +204,7 @@ contract MathTest is Test {
204204 assertEq (xyLo, qdRemLo);
205205 }
206206
207+ /// forge-config: default.allow_internal_expect_revert = true
207208 function testMulDivDomain (uint256 x , uint256 y , uint256 d ) public {
208209 (uint256 xyHi , ) = _mulHighLow (x, y);
209210
@@ -216,6 +217,7 @@ contract MathTest is Test {
216217 }
217218
218219 // MOD EXP
220+ /// forge-config: default.allow_internal_expect_revert = true
219221 function testModExp (uint256 b , uint256 e , uint256 m ) public {
220222 if (m == 0 ) {
221223 vm.expectRevert (stdError.divisionError);
@@ -236,6 +238,7 @@ contract MathTest is Test {
236238 }
237239 }
238240
241+ /// forge-config: default.allow_internal_expect_revert = true
239242 function testModExpMemory (uint256 b , uint256 e , uint256 m ) public {
240243 if (m == 0 ) {
241244 vm.expectRevert (stdError.divisionError);
You can’t perform that action at this time.
0 commit comments