mirror of https://github.com/zulip/zulip.git
Add test_validate_handlebars().
This commit is contained in:
parent
70bc932913
commit
d29e745142
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue