Skip to content

Commit

Permalink
docs: polish comments
Browse files Browse the repository at this point in the history
  • Loading branch information
smol-ninja committed Nov 18, 2024
1 parent 27dd70e commit 267ad4e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/LockupStreamCreator.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ contract LockupStreamCreatorTest is Test {
// Fork Ethereum Mainnet
vm.createSelectFork({ blockNumber: 6_239_031, urlOrAlias: "sepolia" });

// Load the lockup linear contract from Ethereum Mainnet
// Load the lockup linear contract from Ethereum Sepolia
lockup = ISablierV2LockupLinear(LOCKUP_LINEAR_ADDRESS);

// Deploy the stream creator contract
Expand All @@ -39,10 +39,11 @@ contract LockupStreamCreatorTest is Test {
creator.DAI().approve({ spender: address(creator), value: 1337e18 });
}

// Test that creating linear stream works by checking the stream ids
function test_CreateLockupLinearStream() public {
uint256 expectedStreamId = lockup.nextStreamId();
uint256 actualStreamId = creator.createLockupLinearStream(1337e18);

// Check that creating linear stream works by checking the stream id
assertEq(actualStreamId, expectedStreamId);
}
}

0 comments on commit 267ad4e

Please sign in to comment.