summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-01-04 02:02:32 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-01-04 02:02:32 +0000
commitffb1a5d8017a5b331c26f2df985e8cf8fb0bf9e6 (patch)
treec208d8e3c34d519de7c5654a7990f97b91697021 /test
parentd785c36b885f2cee8353954b87cf5624d387a769 (diff)
Revert r57229 and finally giving up backporting [Bug #13043]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@57263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_exception.rb20
1 files changed, 0 insertions, 20 deletions
diff --git a/test/ruby/test_exception.rb b/test/ruby/test_exception.rb
index 0e0179fd5f..3268096463 100644
--- a/test/ruby/test_exception.rb
+++ b/test/ruby/test_exception.rb
@@ -717,26 +717,6 @@ end.join
assert_equal({}, e.arg, bug)
end
- def test_circular_cause
- bug13043 = '[ruby-core:78688] [Bug #13043]'
- begin
- begin
- raise "error 1"
- ensure
- orig_error = $!
- begin
- raise "error 2"
- rescue => err
- raise orig_error
- end
- end
- rescue => x
- end
- assert_equal(orig_error, x)
- assert_equal(orig_error, err.cause)
- assert_nil(orig_error.cause, bug13043)
- end
-
def test_anonymous_message
assert_in_out_err([], "raise Class.new(RuntimeError), 'foo'", [], /foo\n/)
end