diff --git a/tests/test_highlighter.py b/tests/test_highlighter.py index 9905c92b..c4489f37 100644 --- a/tests/test_highlighter.py +++ b/tests/test_highlighter.py @@ -33,11 +33,21 @@ highlight_tests = [ ( "", [ - Span(0, 1, 'repr.tag_start'), - Span(1, 5, 'repr.tag_name'), - Span(5, 8, 'repr.tag_contents'), - Span(8, 9, 'repr.tag_end'), - Span(6, 8, 'repr.number') + Span(0, 1, "repr.tag_start"), + Span(1, 5, "repr.tag_name"), + Span(5, 8, "repr.tag_contents"), + Span(8, 9, "repr.tag_end"), + Span(6, 8, "repr.number") + ] + ), + ( + ">", + [ + Span(0, 1, "repr.tag_start"), + Span(1, 5, "repr.tag_name"), + Span(5, 15, "repr.tag_contents"), + Span(15, 16, "repr.tag_end"), + Span(12, 14, "repr.number") ] ), (