Merging upstream version 9.0.3.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
66ef36a209
commit
b1dc5c6faf
22 changed files with 742 additions and 223 deletions
|
@ -5,7 +5,7 @@ from sqlglot.time import format_time
|
|||
|
||||
class TestTime(unittest.TestCase):
|
||||
def test_format_time(self):
|
||||
self.assertEqual(format_time("", {}), "")
|
||||
self.assertEqual(format_time("", {}), None)
|
||||
self.assertEqual(format_time(" ", {}), " ")
|
||||
mapping = {"a": "b", "aa": "c"}
|
||||
self.assertEqual(format_time("a", mapping), "b")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue