mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
Add test_validate_handlebars().
This commit is contained in:
@@ -35,6 +35,15 @@ class ParserTest(unittest.TestCase):
|
|||||||
</table>'''
|
</table>'''
|
||||||
validate(text=my_html)
|
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):
|
def test_tokenize(self):
|
||||||
# type: () -> None
|
# type: () -> None
|
||||||
tag = '<meta whatever>bla'
|
tag = '<meta whatever>bla'
|
||||||
|
|||||||
Reference in New Issue
Block a user