Skip to content

Commit

Permalink
Revert test due to ANTLR 4.7.2 auto-labeling literals
Browse files Browse the repository at this point in the history
  • Loading branch information
hermansje committed Mar 11, 2019
1 parent 4c119ea commit 36b97b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ def test_unparsed_to_text():
cursor = tree.body[0].target_list[0]

assert isinstance(cursor, ast.UnaryExpr)
# TODO: update Unshaped test
assert cursor.get_text(sql_txt) == "CURSOR (SELECT a FROM b)"
assert cursor.expr.get_text(sql_txt) == "SELECT a FROM b"
assert cursor.expr.get_text(sql_txt) == "(SELECT a FROM b)"


def test_ast_dump():
Expand Down

0 comments on commit 36b97b8

Please sign in to comment.