Commit 80bbf242 authored by Mark Tyneway's avatar Mark Tyneway

contracts-bedrock: simplify test

Simplify the `DeployerWhitelist` tests by using `Test`
instead of `CommonTest`. Should slightly reduce the overhead
of the tests.
parent 85d93281
...@@ -2,16 +2,16 @@ ...@@ -2,16 +2,16 @@
pragma solidity 0.8.15; pragma solidity 0.8.15;
// Testing utilities // Testing utilities
import { CommonTest } from "test/CommonTest.t.sol"; import { Test } from "forge-std/Test.sol";
// Target contract // Target contract
import { DeployerWhitelist } from "src/legacy/DeployerWhitelist.sol"; import { DeployerWhitelist } from "src/legacy/DeployerWhitelist.sol";
contract DeployerWhitelist_Test is CommonTest { contract DeployerWhitelist_Test is Test {
DeployerWhitelist list; DeployerWhitelist list;
/// @dev Sets up the test suite. /// @dev Sets up the test suite.
function setUp() public virtual override { function setUp() public {
list = new DeployerWhitelist(); list = new DeployerWhitelist();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment