diff options
| author | Jesús Leganés Combarro "Piranna" <piranna@gmail.com> | 2012-06-01 23:25:29 +0200 |
|---|---|---|
| committer | Jesús Leganés Combarro "Piranna" <piranna@gmail.com> | 2012-06-01 23:25:29 +0200 |
| commit | 6e5b576d1e28af1aacd687af048ca6f79a956ad9 (patch) | |
| tree | 29216e80de429d5f03c55b58b0ff1e6cfc22b71b | |
| parent | 5a3b9b44c1c4782eacf882c541be59db3bbec020 (diff) | |
| download | sqlparse-6e5b576d1e28af1aacd687af048ca6f79a956ad9.tar.gz | |
Cleaned test (now is more legible)
| -rw-r--r-- | tests/test_issue_50.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/test_issue_50.py b/tests/test_issue_50.py index 13fd73e..008ab88 100644 --- a/tests/test_issue_50.py +++ b/tests/test_issue_50.py @@ -13,11 +13,10 @@ class Issue_50(TestCase): def test_issue(self): result = format("SELECT foo, null bar, car FROM dual", reindent=True) print result - self.assertEqual(result, -"""SELECT foo, - null bar, - car -FROM dual""") + self.assertEqual(result, "SELECT foo,\n" + " null bar,\n" + " car\n" + "FROM dual") if __name__ == "__main__": |
