Skip to content

Commit

Permalink
Lock test (#590)
Browse files Browse the repository at this point in the history
* lock test

* lowercase
  • Loading branch information
dianakocsis authored Apr 24, 2024
1 parent 18320a9 commit 4c31ab1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/libraries/Lock.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,8 @@ contract LockTest is Test {

assertFalse(Lock.isUnlocked());
}

function test_unlockedSlot() public {
assertEq(uint256(keccak256("Unlocked")) - 1, Lock.IS_UNLOCKED_SLOT);
}
}

0 comments on commit 4c31ab1

Please sign in to comment.