From a0bafb0929ce7cee6ce38b368d96f3ae0ae98b25 Mon Sep 17 00:00:00 2001 From: Andi Albrecht Date: Sun, 21 Nov 2010 19:42:57 +0100 Subject: Ignore identifiers in double-quotes when changing identifier case (fixes issue21). --- tests/test_format.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_format.py') 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' -- cgit v1.2.1