From e65f3dba9ca9a496b3c380e22f9e88232924e886 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 4 Jan 2017 15:03:57 +0900 Subject: [PATCH] Remove an extra assertion As the result of https://bugs.ruby-lang.org/issues/13043, now Exception#cause should not have a loop. In the example https://github.com/jimweirich/rake/issues/272, the code doesn't seem to intend the loop itself but just re-raising the first exception instead of the next exception. Therefore I consider the last assertion superfluous. --- test/test_rake_application.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/test/test_rake_application.rb b/test/test_rake_application.rb index 62bb4c6ac..cb3a86c07 100644 --- a/test/test_rake_application.rb +++ b/test/test_rake_application.rb @@ -97,7 +97,6 @@ def test_display_exception_details_cause_loop assert_empty out assert_match "cause a", err - assert_match "cause b", err end def test_display_tasks