Skip to content

Commit

Permalink
Add regression test (#780).
Browse files Browse the repository at this point in the history
  • Loading branch information
andialbrecht committed Jul 15, 2024
1 parent 791e25d commit b253bb1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_split.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit b253bb1

Please sign in to comment.