Skip to content

Commit

Permalink
Update test functions visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
shuhuiluo authored and gnarlycow committed Mar 23, 2024
1 parent 56d6a9d commit 55629be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/PoolAddress.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ contract PoolAddressTest is BaseTest {
}

/// @notice Test `computeAddress` against the original Uniswap library.
function testFuzz_ComputeAddress(address tokenA, address tokenB, uint24 fee) public {
function testFuzz_ComputeAddress(address tokenA, address tokenB, uint24 fee) public view {
vm.assume(tokenA != tokenB);
if (tokenA > tokenB) (tokenA, tokenB) = (tokenB, tokenA);
assertEq(
Expand All @@ -81,7 +81,7 @@ contract PoolAddressTest is BaseTest {
}

/// @notice Test `computeAddress` against the original Uniswap library.
function testFuzz_ComputeAddressFromKey(address tokenA, address tokenB, uint24 fee) public {
function testFuzz_ComputeAddressFromKey(address tokenA, address tokenB, uint24 fee) public view {
vm.assume(tokenA != tokenB);
if (tokenA > tokenB) (tokenA, tokenB) = (tokenB, tokenA);
assertEq(
Expand All @@ -91,7 +91,7 @@ contract PoolAddressTest is BaseTest {
}

/// @notice Test `computeAddressCalldata` against other implementation.
function testFuzz_ComputeAddressCalldata(address tokenA, address tokenB, uint24 fee) public {
function testFuzz_ComputeAddressCalldata(address tokenA, address tokenB, uint24 fee) public view {
vm.assume(tokenA != tokenB);
if (tokenA > tokenB) (tokenA, tokenB) = (tokenB, tokenA);
assertEq(
Expand Down

0 comments on commit 55629be

Please sign in to comment.