Commit a10b1e19 authored by Michal Čihař's avatar Michal Čihař

Add testcase for XML tags highlighting

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 34bf24b1
......@@ -52,3 +52,7 @@ class XMLTagsCheckTest(CheckTestCase):
self.test_failure_1 = ('<a>string</a>', '<b>string</b>', '')
self.test_failure_2 = ('<a>string</a>', 'string', '')
self.test_failure_3 = ('<a>string</a>', '<b>string</a>', '')
self.test_highlight = (
'<b><a href="foo">bar</a></b>',
[(0, '<b>'), (3, '<a href="foo">'), (20, '</a>'), (24, '</b>')]
)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment