# File test/src/simple_parser_test.rb, line 98 def testInputConsumptionBiggerThanLookaheadShouldFail assertError('abc', "'d' expected", sum(str('ab')>>char('d'), str('abc')).lookahead(2), 2) end