test: mark setUp as virtual

This commit is contained in:
Paul Razvan Berg 2023-04-01 09:46:18 +03:00
parent dbbb25c560
commit f1c6d5e8e7
No known key found for this signature in database
GPG Key ID: 94DB130BAB397DED
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ interface IERC20 {
/// https://book.getfoundry.sh/forge/writing-tests /// https://book.getfoundry.sh/forge/writing-tests
contract FooTest is PRBTest, StdCheats { contract FooTest is PRBTest, StdCheats {
/// @dev An optional function invoked before each test case is run /// @dev An optional function invoked before each test case is run
function setUp() public { function setUp() public virtual {
// solhint-disable-previous-line no-empty-blocks // solhint-disable-previous-line no-empty-blocks
} }