Refactor AV number helper tests with invalid numbers
Just make use of the returning exception from assert_raise, instead of calling the method again with a rescue clause to test the saved exception number.
Showing
想要评论请 注册 或 登录
Just make use of the returning exception from assert_raise, instead of calling the method again with a rescue clause to test the saved exception number.