misc: Grammar fixes

Co-authored-by: Alan <donosonaumczuk@gmail.com>
This commit is contained in:
vicnaum
2023-03-24 16:09:34 +01:00
parent 72e4a538b1
commit f88d23b4de
38 changed files with 134 additions and 153 deletions

View File

@@ -151,7 +151,7 @@ contract ChangeDelegatedExecutorsConfigTest_CurrentConfig is BaseTest {
//////////////////////////////////////////////////////////////////////
function _refreshCachedNonce(address signer) internal virtual {
// Nothing to do here, this is meant to be overriden by the meta-tx tests.
// Nothing to do here, this is meant to be overridden by the meta-tx tests.
}
function _changeCurrentDelegatedExecutorsConfig(
@@ -330,7 +330,7 @@ contract ChangeDelegatedExecutorsConfigTest_GivenConfig is ChangeDelegatedExecut
assertFalse(hub.isDelegatedExecutorApproved(testDelegatorProfileId, address(3)));
assertFalse(hub.isDelegatedExecutorApproved(testDelegatorProfileId, address(4)));
// Switch to fourth configuration, now the previous configuration is the second one.
// Switch to the fourth configuration, now the previous configuration is the second one.
_refreshCachedNonce(testDelegatorProfileOwner);
_changeDelegatedExecutorsConfig({
pk: testDelegatorProfileOwnerPk,

View File

@@ -1178,7 +1178,7 @@ contract FollowNFTTest is BaseTest, ERC721Test {
assertEq(followNFT.getFollowApproved(followTokenId), 0);
// Transfers back to previous owner and checks that it keeps being clear.
// Transfers back to the previous owner and checks that it keeps being clear.
vm.prank(followerProfileOwner);
followNFT.transferFrom(followerProfileOwner, alreadyFollowingProfileOwner, followTokenId);

View File

@@ -6,7 +6,7 @@ import 'test/foundry/helpers/SignatureHelpers.sol';
import 'test/foundry/helpers/CollectingHelpers.sol';
import 'test/foundry/MetaTxNegatives.t.sol';
// TODO add check for _initialize() called for fork tests - check name and symbol set
// TODO add check for _initialize() called for fork tests - check that the name and symbol are set
// contract PublicationActionsTest is BaseTest, SigSetup {
// }

View File

@@ -6,7 +6,7 @@ import 'test/foundry/base/BaseTest.t.sol';
/* Test plan:
*
* Test New V2 Publications:
* - Test that non-existent publication returns type PublicationType.Noneexistent (0)
* - Test that non-existent publication returns type PublicationType.Nonexistent (0)
* - Create a Post and test that a Post returns type PublicationType.Post (1)
* - Create a Comment and test that a Comment returns type PublicationType.Comment (2)
* - Create a Mirror and test that a Mirror returns type PublicationType.Mirror (3)

View File

@@ -78,7 +78,7 @@ contract UnfollowTest is BaseTest {
idsOfProfilesToUnfollow: _toUint256Array(targetProfileId, unexistentProfileId)
});
// Asserts that the unfollow operation has been completely reverted after one of the unfollow's failed.
// Asserts that the unfollow operation has been completely reverted after one of the unfollows failed.
assertTrue(hub.isFollowing(testUnfollowerProfileId, targetProfileId));
}

View File

@@ -128,7 +128,7 @@ contract TestSetup is Test, ForkManagement, ArrayHelpers {
///////////////////////////////////////// Start deployments.
vm.startPrank(deployer);
// Precompute needed addresss.
// Precompute needed addresses.
address followNFTAddr = computeCreateAddress(deployer, 1);
address collectNFTAddr = computeCreateAddress(deployer, 2);
hubProxyAddr = computeCreateAddress(deployer, 3);
@@ -181,7 +181,7 @@ contract TestSetup is Test, ForkManagement, ArrayHelpers {
)
);
// precompute basic profile creaton data.
// precompute basic profile creation data.
mockCreateProfileParams = Types.CreateProfileParams({
to: profileOwner,
imageURI: MOCK_URI,

View File

@@ -81,7 +81,7 @@ contract UpgradeForkTest is BaseTest {
address proxyAdmin = address(uint160(uint256(vm.load(hubProxyAddr, ADMIN_SLOT))));
address gov = hub.getGovernance();
// Setup the new deployment and helper memory structs.
// Set up the new deployment and helper memory structs.
_forkSetup(hubProxyAddr, gov);
// Create a profile on the old hub, set the default profile.
@@ -126,7 +126,7 @@ contract UpgradeForkTest is BaseTest {
}
function _fullCreateProfileSequence(address gov, ILensHub hub) private returns (uint256) {
// In order to make this test suite evergreen, we must try setting a modern follow module since we don't know
// To make this test suite evergreen, we must try setting a modern follow module since we don't know
// which version of the hub we're working with, if this fails, then we should use a deprecated one.
// mockCreateProfileParams.handle = vm.toString(IERC721Enumerable(address(hub)).totalSupply());

View File

@@ -71,7 +71,7 @@ contract MigrationsTest is Test, ForkManagement {
function setUp() public onlyFork {
loadBaseAddresses(forkEnv);
// Precompute needed addresss.
// Precompute needed addresses.
address lensHandlesAddress = computeCreateAddress(deployer, 0);
address tokenHandleRegistryAddress = computeCreateAddress(deployer, 1);