We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d093f67 commit 25f2e3bCopy full SHA for 25f2e3b
1 file changed
test/test_rake_application.rb
@@ -72,33 +72,6 @@ def test_display_exception_details_cause
72
assert_match "cause b", err
73
end
74
75
- def test_display_exception_details_cause_loop
76
- skip "Exception#cause not implemented" unless
77
- Exception.method_defined? :cause
78
- skip if jruby9? # https://github.com/jruby/jruby/issues/3654
79
-
80
- begin
81
82
- raise "cause a"
83
- rescue => a
84
85
- raise "cause b"
86
- rescue
87
- raise a
88
- end
89
90
- rescue => ex
91
92
93
- out, err = capture_io do
94
- @app.display_error_message ex
95
96
97
- assert_empty out
98
99
- assert_match "cause a", err
100
101
102
def test_display_tasks
103
@app.options.show_tasks = :tasks
104
@app.options.show_task_pattern = //
0 commit comments