summaryrefslogtreecommitdiffstats
path: root/tests/test_parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_parser.py')
-rw-r--r--tests/test_parser.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_parser.py b/tests/test_parser.py
index 84ae0b5..897357f 100644
--- a/tests/test_parser.py
+++ b/tests/test_parser.py
@@ -521,3 +521,6 @@ class TestParser(unittest.TestCase):
self.assertEqual(
parse_one("create materialized table x").sql(), "CREATE MATERIALIZED TABLE x"
)
+
+ def test_parse_floats(self):
+ self.assertTrue(parse_one("1. ").is_number)