Removed extra call to #diff in #assert_recognizes. assert_equal calls it for...
Removed extra call to #diff in #assert_recognizes. assert_equal calls it for you and shows the diff. Also delayed message calculation so the cost of the diff on success is now gone.
Showing
想要评论请 注册 或 登录