Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add test special characters

  • Loading branch information...
commit 7c94db229b9d57f75c867d22c9a83709f6d40de9 1 parent c23793b
@Pitmairen authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 tests/test_syntax.py
View
5 tests/test_syntax.py
@@ -233,6 +233,8 @@ def test_tag_mixed_class_id_shortcut(self):
Test
%div#test#test2.test#test3.test2
Test
+%div#test?-123.test!-123
+ Test
''')
r = '''\
<div id="test" class="test">
@@ -249,6 +251,9 @@ def test_tag_mixed_class_id_shortcut(self):
</div>
<div id="test test2 test3" class="test test2">
Test
+</div>
+<div id="test?-123" class="test!-123">
+ Test
</div>\
'''
self.assertEqual(s, r)
Please sign in to comment.
Something went wrong with that request. Please try again.