Skip to content

Commit

Permalink
Merge pull request #147 from ryabykhms/fix/invalid-link-for-stream-cr…
Browse files Browse the repository at this point in the history
…eator-test

fix: invalid link for stream creator test
  • Loading branch information
smol-ninja committed May 10, 2024
2 parents 07f9e74 + 290b6b2 commit 225c42e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/contracts/v2/guides/01-local-environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ As a prerequisite, you will need an RPC that supports forking. A good solution f
Once you have obtained your RPC, you can proceed to run the following test:

```solidity reference title="Stream Creator Test"
https://github.com/sablier-labs/examples/blob/main/v2/core/LockupLinearStreamCreator.t.sol
https://github.com/sablier-labs/examples/blob/main/v2/core/LockupStreamCreator.t.sol
```

You can run the test using Forge:
Expand All @@ -156,9 +156,10 @@ $ forge test
If the test passed, you should see a message like this:

```text
Running 1 test for test/StreamCreator.t.sol:StreamCreatorTest
[PASS] test_CreateStream() (gas: { gasValue })
Test result: ok. 1 passed; 0 failed; finished in { time }
Ran 2 tests for v2/core/LockupStreamCreator.t.sol:LockupStreamCreatorTest
[PASS] test_LockupDynamicStreamCreator() (gas: 273719)
[PASS] test_LockupLinearStreamCreator() (gas: 186388)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 6.34s (5.80s CPU time)
```

## Next steps
Expand Down

0 comments on commit 225c42e

Please sign in to comment.