restructure user_context reverse tokenizer to remove INDENT tokens in the future

This commit is contained in:
Dave Halter committed 2014-02-21 15:30:46 +01:00
1 parent 9c3b7b9c46
commit fe02088dd7
3 files changed
+15 -5

No files matched your search

+1 -1
View File
@@ -63,8 +63,8 @@ def test_after_from():
completions = Script(source, column=column).completions()
assert [c.name for c in completions] == result
check('from os ', ['import'])
check('\nfrom os ', ['import'])
check('from os ', ['import'])
check('\nfrom os import whatever', ['import'], len('from os im'))
check('from os\\\n', ['import'])