Test suite
The test suite of this project uses the testFail
test prefix to handle negative test cases.
Since the testFail
prefix support was removed in Foundry V1.0, we recommend using the expectRevert
cheat code to ensure that the transaction reverts with the correct error message.