Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

Commit

Permalink
Add some tests for element escaping
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanseymour committed Dec 12, 2016
1 parent 6cfc922 commit fa51dcd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hamlpy/test/test_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ def test_doctypes(self):

def test_escaping(self):
self._test("\\= Escaped", "= Escaped")
self._test("\%}", "%}")
self._test(" \:python", " :python")

def test_utf8(self):
self._test("%a{'href':'', 'title':'링크(Korean)'} Some Link",
Expand Down

0 comments on commit fa51dcd

Please sign in to comment.