Skip to content

Commit

Permalink
Strengthen test
Browse files Browse the repository at this point in the history
  • Loading branch information
Vectorized committed Dec 6, 2024
1 parent f80adea commit a89648b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/Timelock.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -290,10 +290,10 @@ contract TimelockTest is SoladyTest {
public
pure
{
if (!_isOperationReadyOptimized(packed ^ 1, blockTimestamp)) {
if (_isOperationDoneOptimized(packed, blockTimestamp)) {
if (!_isOperationReadyOriginal(packed ^ 1, blockTimestamp)) {
if (_isOperationDoneOriginal(packed, blockTimestamp)) {
packed ^= 1;
assert(!_isOperationReadyOptimized(packed, blockTimestamp));
assert(!_isOperationReadyOriginal(packed, blockTimestamp));
}
}
assert(
Expand Down

0 comments on commit a89648b

Please sign in to comment.