# File test/src/simple_parser_test.rb, line 91 def testLookaheadRecoversInputConsumption assertParser('abc', 'abc', (char('x') | char('a') >> str('bcd') | str('abc') | char('x')).lookahead(2)) end