Add test_validate_handlebars().

This commit is contained in:
Steve Howell 2016-08-08 07:26:33 -07:00 committed by Tim Abbott
parent 70bc932913
commit d29e745142
1 changed files with 9 additions and 0 deletions

View File

@ -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'