diff --git a/tests/test_split.py b/tests/test_split.py index e2f1429e..d6676086 100644 --- a/tests/test_split.py +++ b/tests/test_split.py @@ -22,6 +22,11 @@ def test_split_backslash(): assert len(stmts) == 2 +def test_escaped_quotes(): # issue780 + stmts = sqlparse.parse("SELECT (')\'');a');") + assert len(stmts) == 1 + + @pytest.mark.parametrize('fn', ['function.sql', 'function_psql.sql', 'function_psql2.sql',