generated from ScopeLift/foundry-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: refactor tests to follow best practices (#19)
* Update PerpetualPositionRouter tests * Clean up DepositRouter tests * Reformat tests to follow best practices * Reformat code * Update Formatting * Remove unnecessary instantiation * Rename tests * Remove last remaining fork test * Change create 2 to use keccak256 * chore: rename var --------- Co-authored-by: Matt Solomon <[email protected]>
- Loading branch information
1 parent
495983e
commit 9925382
Showing
10 changed files
with
553 additions
and
62 deletions.
There are no files selected for viewing
Submodule forge-std
updated
23 files
+29 −0 | .github/workflows/sync.yml | |
+1 −1 | foundry.toml | |
+1 −1 | lib/ds-test | |
+2 −2 | package.json | |
+5 −0 | src/Base.sol | |
+191 −24 | src/StdAssertions.sol | |
+89 −47 | src/StdChains.sol | |
+100 −26 | src/StdCheats.sol | |
+92 −0 | src/StdInvariant.sol | |
+28 −28 | src/StdJson.sol | |
+1 −1 | src/StdStorage.sol | |
+333 −0 | src/StdStyle.sol | |
+83 −8 | src/StdUtils.sol | |
+5 −1 | src/Test.sol | |
+124 −11 | src/Vm.sol | |
+394 −382 | src/console2.sol | |
+73 −0 | src/interfaces/IMulticall3.sol | |
+13,248 −0 | src/safeconsole.sol | |
+412 −0 | test/StdAssertions.t.sol | |
+69 −32 | test/StdChains.t.sol | |
+116 −3 | test/StdCheats.t.sol | |
+110 −0 | test/StdStyle.t.sol | |
+133 −12 | test/StdUtils.t.sol |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.