diff --git a/cratedb_sqlparse_py/tests/test_lexer.py b/cratedb_sqlparse_py/tests/test_lexer.py index af426e9..860e08e 100644 --- a/cratedb_sqlparse_py/tests/test_lexer.py +++ b/cratedb_sqlparse_py/tests/test_lexer.py @@ -34,7 +34,7 @@ def test_sqlparse_several_statements(): def test_sqlparse_dollar_string(): - query = "SELECT $$crate's performance$$" + query = "update test set a=$$test;test$$" r = sqlparse(query) assert r[0].query == query diff --git a/setup_grammar.py b/setup_grammar.py index 6f20f95..003fe29 100644 --- a/setup_grammar.py +++ b/setup_grammar.py @@ -17,7 +17,7 @@ class Antlr4Target(Enum): Antlr4Target.python: 'cratedb_sqlparse_py' }, - 'antlr4_compiled_target_subdir': 'parser/generated_parser', + 'antlr4_compiled_target_subdir': 'cratedb_sqlparse/generated_parser', # List of '.g4' files that will be built 'files': [