Example:
Error (6160): Wrong argument count for function call: 1 arguments given but expected 0.
--> contracts/test/Insufficient_validation_on_user_inputs_test.t.sol:101:13:
|
101 | fail("Loan creation with excessive duration did not revert as expected. Input validation insufficient.");
Another example:
vm.expectRevert(stdError.arithmeticError); // Expect arithmetic underflow error (panic 0x11)
We should probably give it examples of how to use common forge testing functionality.