diff options
| author | Andi Albrecht <albrecht.andi@gmail.com> | 2010-11-21 19:42:57 +0100 |
|---|---|---|
| committer | Andi Albrecht <albrecht.andi@gmail.com> | 2010-11-21 19:42:57 +0100 |
| commit | a0bafb0929ce7cee6ce38b368d96f3ae0ae98b25 (patch) | |
| tree | b83aa1f7b8502a20220571a77153b087f3531146 /tests/test_format.py | |
| parent | b56308b44ac5f60b757c576fdea4f91c5e215898 (diff) | |
| download | sqlparse-a0bafb0929ce7cee6ce38b368d96f3ae0ae98b25.tar.gz | |
Ignore identifiers in double-quotes when changing identifier case (fixes issue21).
Diffstat (limited to 'tests/test_format.py')
| -rw-r--r-- | tests/test_format.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_format.py b/tests/test_format.py index 32e8bef..b56ceaf 100644 --- a/tests/test_format.py +++ b/tests/test_format.py @@ -30,7 +30,7 @@ class TestFormat(TestCaseBase): identifier_case='foo') sql = 'select * from "foo"."bar"' res = sqlparse.format(sql, identifier_case="upper") - self.ndiffAssertEqual(res, 'select * from "FOO"."BAR"') + self.ndiffAssertEqual(res, 'select * from "foo"."bar"') def test_strip_comments_single(self): sql = 'select *-- statement starts here\nfrom foo' |
