File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ contract TrimmingTest is Test {
67
67
}
68
68
}
69
69
70
+ /// forge-config: default.allow_internal_expect_revert = true
70
71
function testAddOperatorDecimalsNotEqualRevert () public {
71
72
uint8 decimals = 18 ;
72
73
uint8 decimalsOther = 3 ;
@@ -134,6 +135,7 @@ contract TrimmingTest is Test {
134
135
}
135
136
}
136
137
138
+ /// forge-config: default.allow_internal_expect_revert = true
137
139
function testSubOperatorOverflow () public {
138
140
uint8 [2 ] memory decimals = [18 , 3 ];
139
141
@@ -263,6 +265,7 @@ contract TrimmingTest is Test {
263
265
assertEq (expectedTrimmedSub.getDecimals (), trimmedSub.getDecimals ());
264
266
}
265
267
268
+ /// forge-config: default.allow_internal_expect_revert = true
266
269
function testFuzz_SubOperatorWillOverflow (
267
270
uint8 decimals ,
268
271
uint256 amtLeft ,
You can’t perform that action at this time.
0 commit comments