1
0
forked from VimPlug/jedi

get the 'not' priorities right for precedences

This commit is contained in:
Dave Halter
2014-03-08 03:14:05 +01:00
parent 3559dba7ea
commit 11346d0901
2 changed files with 3 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ def test_simple():
def test_prefixed():
assert parse_tree('--2') == (None, '-', (None, '-', 2))
assert parse_tree('1 and not - 2') == (1, 'and', (None, '-', 2))
assert parse_tree('1 and not - 2') == (1, 'and', (None, 'not', (None, '-', 2)))
def test_invalid():