Skip to content

Commit e65f3db

Browse files
committed
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 jimweirich#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.
1 parent 34a2353 commit e65f3db

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

test/test_rake_application.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ def test_display_exception_details_cause_loop
9797
assert_empty out
9898

9999
assert_match "cause a", err
100-
assert_match "cause b", err
101100
end
102101

103102
def test_display_tasks

0 commit comments

Comments
 (0)