From f1c6d5e8e7aaecafbd62ae4023469ec3b285845b Mon Sep 17 00:00:00 2001 From: Paul Razvan Berg Date: Sat, 1 Apr 2023 09:46:18 +0300 Subject: [PATCH] test: mark setUp as virtual --- test/Foo.t.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Foo.t.sol b/test/Foo.t.sol index 636243c..1bc033a 100644 --- a/test/Foo.t.sol +++ b/test/Foo.t.sol @@ -13,7 +13,7 @@ interface IERC20 { /// https://book.getfoundry.sh/forge/writing-tests contract FooTest is PRBTest, StdCheats { /// @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 }