Closed smol-ninja closed 1 month ago
The contract names in the MerkleLockup integration tests do not include the name of the Merkle Lockup that they run tests for. Take the following example:
MerkleLockup
https://github.com/sablier-labs/v2-core/blob/a97e5ae278e82a91533d42ae4df2cd3f95c14f81/test/periphery/integration/merkle-lockup/ll/clawback/clawback.t.sol#L9
is same as
https://github.com/sablier-labs/v2-core/blob/a97e5ae278e82a91533d42ae4df2cd3f95c14f81/test/periphery/integration/merkle-lockup/lt/clawback/clawback.t.sol#L9
I suggest to renaming them to include the name of the Merkle Lockup i.e.
ll
Clawback_MerkleLL_Integration_Test
lt
Clawback_MerkleLT_Integration_Test
and so on.
Since the tests are duplicated for this function (maybe there are more) shouldn't we add a shared dir at: test/integration/merkle-lockup/shared/?
shared
test/integration/merkle-lockup/shared/
Good idea.
The contract names in the
MerkleLockup
integration tests do not include the name of the Merkle Lockup that they run tests for. Take the following example:https://github.com/sablier-labs/v2-core/blob/a97e5ae278e82a91533d42ae4df2cd3f95c14f81/test/periphery/integration/merkle-lockup/ll/clawback/clawback.t.sol#L9
is same as
https://github.com/sablier-labs/v2-core/blob/a97e5ae278e82a91533d42ae4df2cd3f95c14f81/test/periphery/integration/merkle-lockup/lt/clawback/clawback.t.sol#L9
I suggest to renaming them to include the name of the Merkle Lockup i.e.
ll
folder ->Clawback_MerkleLL_Integration_Test
lt
folder ->Clawback_MerkleLT_Integration_Test
and so on.