styling consistency
This commit is contained in:
@@ -61,7 +61,7 @@ contract NativeTest is Test {
|
||||
vm.deal(alice, 100 ether);
|
||||
vm.deal(bob, 100 ether);
|
||||
|
||||
// Deploy two regular ERC20 tokens
|
||||
// Deploy two regular ERC20 _tokens
|
||||
token0 = new TestERC20Native("T0", "T0", 0);
|
||||
token1 = new TestERC20Native("T1", "T1", 0);
|
||||
|
||||
@@ -72,7 +72,7 @@ contract NativeTest is Test {
|
||||
token0.mint(address(this), INIT_BAL);
|
||||
token1.mint(address(this), INIT_BAL);
|
||||
|
||||
// For WETH, we deposit native currency to get wrapped tokens
|
||||
// For WETH, we deposit native currency to get wrapped _tokens
|
||||
weth.deposit{value: INIT_BAL}();
|
||||
|
||||
// Configure LMSR parameters
|
||||
@@ -104,7 +104,7 @@ contract NativeTest is Test {
|
||||
// Perform initial mint
|
||||
pool.initialMint(address(this), 0);
|
||||
|
||||
// Mint tokens to alice and bob for testing
|
||||
// Mint _tokens to alice and bob for testing
|
||||
token0.mint(alice, INIT_BAL);
|
||||
token1.mint(alice, INIT_BAL);
|
||||
|
||||
@@ -407,7 +407,7 @@ contract NativeTest is Test {
|
||||
true // unwrap
|
||||
);
|
||||
|
||||
// Bob should receive tokens and native currency
|
||||
// Bob should receive _tokens and native currency
|
||||
assertEq(token0.balanceOf(bob), bobToken0Before + withdraws[0], "Bob token0");
|
||||
assertEq(token1.balanceOf(bob), bobToken1Before + withdraws[1], "Bob token1");
|
||||
assertEq(bob.balance, bobEthBefore + withdraws[2], "Bob should receive ETH");
|
||||
@@ -441,7 +441,7 @@ contract NativeTest is Test {
|
||||
assertTrue(alice.balance <= aliceEthBefore, "Alice ETH should decrease");
|
||||
assertTrue(aliceEthBefore - alice.balance <= maxIn, "Alice spent at most maxIn");
|
||||
|
||||
// Alice should receive LP tokens
|
||||
// Alice should receive LP _tokens
|
||||
assertTrue(pool.balanceOf(alice) >= aliceLpBefore + lpMinted, "Alice should receive LP");
|
||||
|
||||
vm.stopPrank();
|
||||
@@ -567,7 +567,7 @@ contract NativeTest is Test {
|
||||
vm.stopPrank();
|
||||
}
|
||||
|
||||
/// @notice Test that unwrap=false with WETH actually transfers WETH tokens (not native)
|
||||
/// @notice Test that unwrap=false with WETH actually transfers WETH _tokens (not native)
|
||||
function testSwapWithWethNoUnwrap() public {
|
||||
uint256 maxIn = 10_000;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user