summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-05 21:34:24 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-05 21:34:24 +0000
commit0018a71184edbc4b46bbfd2b3a56e4a5a585d4f3 (patch)
tree135ec18c0de6c6af48b98ff5132ac8f26eb1cc77 /test
parent9b77261a123ddd48b960a397f80b40b99d9f62b2 (diff)
* proc.c: enable optimization of Proc#call.
[Feature #11569] * NEWS: write about this optimization and incompatibilities. * test/ruby/test_backtrace.rb: catch up this fix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_backtrace.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ruby/test_backtrace.rb b/test/ruby/test_backtrace.rb
index 7fbfddf94c..3076f37017 100644
--- a/test/ruby/test_backtrace.rb
+++ b/test/ruby/test_backtrace.rb
@@ -79,10 +79,10 @@ class TestBacktrace < Test::Unit::TestCase
cs << caller(5)
}.call
}.resume
- assert_equal(3, cs[0].size)
- assert_equal(2, cs[1].size)
- assert_equal(1, cs[2].size)
- assert_equal(0, cs[3].size)
+ assert_equal(2, cs[0].size)
+ assert_equal(1, cs[1].size)
+ assert_equal(0, cs[2].size)
+ assert_equal(nil, cs[3])
assert_equal(nil, cs[4])
#