Skip to content

Commit

Permalink
chore: remove null tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ankurdubey521 committed Jul 4, 2023
1 parent 32e5e9a commit 89e08a7
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 19 deletions.
2 changes: 0 additions & 2 deletions script/TA.UniversalSetter.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,4 @@ contract TAUniversalSetter is Script, TARelayerManagementStorage {

vm.stopBroadcast();
}

function test() external {}
}
2 changes: 0 additions & 2 deletions script/TestToken.Deployment.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,4 @@ contract TestTokenDeploymentScript is Script {

return token;
}

function test() external {}
}
2 changes: 0 additions & 2 deletions src/mock/token/ERC20FreeMint.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,4 @@ contract ERC20FreeMint is ERC20 {
_mint(to[i], amount[i]);
}
}

function test() external {}
}
3 changes: 0 additions & 3 deletions src/mock/wormhole/MockWormholeReceiver.sol
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,4 @@ contract MockWormholeReceiver is IMockWormholeReceiver, IWormholeReceiver {
}

receive() external payable {}

// Exclude from coverage
function test() external {}
}
3 changes: 0 additions & 3 deletions test/base/TATestBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,4 @@ abstract contract TATestBase is Test {
}
return count;
}

// Add this to be excluded from coverage
function test() external pure virtual {}
}
3 changes: 0 additions & 3 deletions test/base/WormholeTestBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,4 @@ abstract contract WormholeTestBase is TATestBase, IMockWormholeReceiver {
_vm.version = wormholeVMVersion;
return guardians[_emitterChain].encodeAndSignMessage(_vm);
}

// Excluce from test coverage
function test() external pure override {}
}
2 changes: 0 additions & 2 deletions test/modules/debug/TADebug.sol
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,4 @@ contract TADebug is ITADebug, TAHelpers, TATransactionAllocationStorage {
{
return _getPendingProtocolRewardsData(_relayerAddress, _getLatestTotalUnpaidProtocolRewards());
}

function test1() external {}
}
2 changes: 0 additions & 2 deletions test/modules/testnet-debug/TATestnetDebug.sol
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,4 @@ contract TATestnetDebug is ITATestnetDebug, TATransactionAllocationStorage, TAPr
sstore(slot, value)
}
}

function test123() external {}
}

0 comments on commit 89e08a7

Please sign in to comment.