]> git.phdru.name Git - sqlconvert.git/commitdiff
Fix the test
authorOleg Broytman <phd@phdru.name>
Thu, 11 Aug 2016 07:18:20 +0000 (10:18 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 11 Aug 2016 07:18:20 +0000 (10:18 +0300)
tests/test_tokens.py

index c8e786f90d35e4aad0f9bc76669b360d470a68f3..1746f7beecdb6951e3dde155ffa9f95d6849c6b1 100755 (executable)
@@ -14,7 +14,7 @@ class TestTokens(unittest.TestCase):
         parsed = parse("select * from `T`")[0]
         requote_names(parsed)
         query = get_tokens_str(parsed)
-        self.assertEqual(query, 'SELECT * FROM "T";\n')
+        self.assertEqual(query, 'SELECT * FROM "T"')
 
 
 if __name__ == "__main__":