mirror of
https://github.com/vacp2p/foundry-template.git
synced 2026-01-09 23:28:01 -05:00
ci: fuzz 10,000 times
test: mark "testExample" function as "external"
This commit is contained in:
@@ -14,5 +14,5 @@ src = "src"
|
|||||||
test = "test"
|
test = "test"
|
||||||
|
|
||||||
[profile.ci]
|
[profile.ci]
|
||||||
fuzz = { runs = 1_000 }
|
fuzz = { runs = 10_000 }
|
||||||
verbosity = 4
|
verbosity = 4
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ contract FooTest is PRBTest, StdCheats {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// @dev Run Forge with `-vvvv` to see console logs.
|
/// @dev Run Forge with `-vvvv` to see console logs.
|
||||||
function testExample() public {
|
function testExample() external {
|
||||||
console2.log("Hello World");
|
console2.log("Hello World");
|
||||||
assertTrue(true);
|
assertTrue(true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user