Permalink
Browse files

Fixed error from reduced stack limit in a recent patch of Ruby 1.8.7

  • Loading branch information...
1 parent 3d50754 commit 2d495cc2af208c5caf550bdae95a1579f2789312 @mjackson committed Mar 18, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 test/grammar_test.rb
@@ -118,7 +118,8 @@ def test_parse_recurs
assert_equal('((a))', match)
assert_equal(5, match.length)
- str = ('(' * 200) + 'a' + (')' * 200)
+ n = 100
+ str = ('(' * n) + 'a' + (')' * n)
match = grammar.parse(str)
assert(match)
assert_equal(str, match)

0 comments on commit 2d495cc

Please sign in to comment.