diff options
| author | Andi Albrecht <albrecht.andi@gmail.com> | 2016-08-13 17:38:21 +0200 |
|---|---|---|
| committer | Andi Albrecht <albrecht.andi@gmail.com> | 2016-08-13 17:38:21 +0200 |
| commit | 2893bd1857d685cf892beac3a7429d03cf1a09f1 (patch) | |
| tree | 1fc1a427841391137820355f33cdaac119c080b6 /tests/test_split.py | |
| parent | b7a30d04427e4e4cbc66d08b780ffbb23ab44931 (diff) | |
| download | sqlparse-2893bd1857d685cf892beac3a7429d03cf1a09f1.tar.gz | |
Parse double dollars (PostgreSQL) as literal strings (fixes #277).
Diffstat (limited to 'tests/test_split.py')
| -rw-r--r-- | tests/test_split.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_split.py b/tests/test_split.py index af7c9ce..5d846bf 100644 --- a/tests/test_split.py +++ b/tests/test_split.py @@ -27,7 +27,8 @@ def test_split_backslash(): @pytest.mark.parametrize('fn', ['function.sql', 'function_psql.sql', 'function_psql2.sql', - 'function_psql3.sql']) + 'function_psql3.sql', + 'function_psql4.sql']) def test_split_create_function(load_file, fn): sql = load_file(fn) stmts = sqlparse.parse(sql) |
