diff --git a/src/libraries/NonZeroDeltaCount.sol b/src/libraries/NonZeroDeltaCount.sol index b1d31ca7d..7e18cdd0a 100644 --- a/src/libraries/NonZeroDeltaCount.sol +++ b/src/libraries/NonZeroDeltaCount.sol @@ -27,7 +27,7 @@ library NonZeroDeltaCount { } /// @notice Potential to underflow. - /// Current usage ensures this will not happen because we call decrememnt with known boundaries (only up to the number of times we call increment). + /// Current usage ensures this will not happen because we call decrement with known boundaries (only up to the number of times we call increment). function decrement() internal { uint256 slot = NONZERO_DELTA_COUNT; assembly { diff --git a/test/Locker.t.sol b/test/Locker.t.sol index 1e63909b9..2093c8d8f 100644 --- a/test/Locker.t.sol +++ b/test/Locker.t.sol @@ -8,7 +8,7 @@ contract LockerTest is Test { address constant ADDRESS_AS = 0xaAaAaAaaAaAaAaaAaAAAAAAAAaaaAaAaAaaAaaAa; address constant ADDRESS_BS = 0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB; - function test_setLocker(address locker) public { + function test_fuzz_setLocker(address locker) public { assertEq(address(Locker.getLocker()), address(0)); if (locker == address(0)) { @@ -20,7 +20,7 @@ contract LockerTest is Test { } } - function test_clearLocker(address locker) public { + function test_fuzz_clearLocker(address locker) public { vm.assume(locker != address(0)); Locker.setLocker(locker); @@ -31,7 +31,7 @@ contract LockerTest is Test { assertEq(address(Locker.getLocker()), address(0)); } - function test_isLocked(address locker) public { + function test_fuzz_isLocked(address locker) public { vm.assume(locker != address(0)); assertFalse(Locker.isLocked()); diff --git a/test/NonZeroDeltaCount.t.sol b/test/NonZeroDeltaCount.t.sol index 0ae1820a3..9f37f5ce0 100644 --- a/test/NonZeroDeltaCount.t.sol +++ b/test/NonZeroDeltaCount.t.sol @@ -21,7 +21,7 @@ contract NonZeroDeltaCountTest is Test { // Reading from right to left. Bit of 0: call increase. Bit of 1: call decrease. // The library allows over over/underflow so we dont check for that here - function test_nonZeroDeltaCount_fuzz(uint256 instructions) public { + function test_fuzz_nonZeroDeltaCount(uint256 instructions) public { uint256 expectedCount; for (uint256 i = 0; i < 256; i++) { if ((instructions & (1 << i)) == 0) {