mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 03:41:58 +00:00
tools/css: Require semicolons after CSS declarations.
This commit is contained in:
@@ -62,9 +62,13 @@ class ParserTestHappyPath(unittest.TestCase):
|
||||
p { color: red }
|
||||
'''
|
||||
|
||||
reformatted_css = '''
|
||||
p { color: red ;}
|
||||
'''
|
||||
|
||||
res = parse(my_css)
|
||||
|
||||
self.assertEqual(res.text(), my_css)
|
||||
self.assertEqual(res.text(), reformatted_css)
|
||||
|
||||
section = cast(CssSection, res.sections[0])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user