1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/ruby/test_backtrace.rb (test_caller_lev):

decreaze recursion size.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2012-05-26 06:31:31 +00:00
parent a28b100f1c
commit 9c3d8bb0f2
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Sat May 26 15:29:22 2012 Koichi Sasada <ko1@atdot.net>
* test/ruby/test_backtrace.rb (test_caller_lev):
decreaze recursion size.
Sat May 26 13:50:48 2012 Koichi Sasada <ko1@atdot.net> Sat May 26 13:50:48 2012 Koichi Sasada <ko1@atdot.net>
* NEWS: add Kernel#caller's second argument. * NEWS: add Kernel#caller's second argument.

View file

@ -33,7 +33,7 @@ class TestBacktrace < Test::Unit::TestCase
assert_equal(nil, cs[4]) assert_equal(nil, cs[4])
# #
max = 20 max = 10
rec = lambda{|n| rec = lambda{|n|
if n > 0 if n > 0
1.times{ 1.times{