Use the assert package to check expectations; also, check for the exact error message instead of just whether any error occurred.
Use the assert package to check expectations; also, check for the exact error message instead of just whether any error occurred.