successful recursion check to be shallower; ref #1630

parent 9007aafe
...@@ -496,7 +496,7 @@ assert('stack extend') do ...@@ -496,7 +496,7 @@ assert('stack extend') do
recurse(count+1, stop) recurse(count+1, stop)
end end
assert_equal 61, recurse(0, 60) assert_equal 6, recurse(0, 5)
assert_raise RuntimeError do assert_raise RuntimeError do
recurse(0, 100000) recurse(0, 100000)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment