Fix an issue with end_pos of a module.

This commit is contained in:
Dave Halter
2016-07-08 00:03:52 +02:00
parent c499696b60
commit e5f09e1c7d
3 changed files with 24 additions and 4 deletions

View File

@@ -103,3 +103,5 @@ def test_end_newlines():
test('a\n#comment', (2, 8))
test('a#comment', (1, 9))
test('def a():\n pass', (2, 5))
test('def a(', (1, 6))