mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
Add test_validate_handlebars().
This commit is contained in:
@@ -35,6 +35,15 @@ class ParserTest(unittest.TestCase):
|
||||
</table>'''
|
||||
validate(text=my_html)
|
||||
|
||||
def test_validate_handlebars(self):
|
||||
# type: () -> None
|
||||
my_html = '''
|
||||
{{#with stream}}
|
||||
<p>{{stream}}</p>
|
||||
{{/with}}
|
||||
'''
|
||||
validate(text=my_html)
|
||||
|
||||
def test_tokenize(self):
|
||||
# type: () -> None
|
||||
tag = '<meta whatever>bla'
|
||||
|
||||
Reference in New Issue
Block a user