function assertTrue(bool data) internal;
function assertTrue(bool data, string memory err) internal;
Asserts data
is true.
Optionally includes an error message in the revert string.
bool success = contract.fun();
assertTrue(success);
function assertTrue(bool data) internal;
function assertTrue(bool data, string memory err) internal;
Asserts data
is true.
Optionally includes an error message in the revert string.
bool success = contract.fun();
assertTrue(success);