The fast parser had some splitting issues.

This commit is contained in:
Dave Halter
2016-06-04 00:50:36 +02:00
parent e60c06b691
commit c3ffaab8af
2 changed files with 6 additions and 0 deletions

View File

@@ -75,6 +75,9 @@ def test_split_parts():
test('a\n\n', 'def b(): pass\n', 'c\n')
test('a\n', 'def b():\n pass\n', 'c\n')
test('from x\\\n')
test('a\n\\\n')
def check_fp(src, number_parsers_used, number_of_splits=None, number_of_misses=0):
if number_of_splits is None: