Add a test for __repr__ tag matching with inner tag

This commit is contained in:
Dave Pearson 2022-10-11 15:50:52 +01:00
parent 86ef7d5298
commit 59a60f830d
No known key found for this signature in database
GPG Key ID: B413E0EF113D4ABF
1 changed files with 15 additions and 5 deletions

View File

@ -33,11 +33,21 @@ highlight_tests = [
(
"<foo: 23>",
[
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")
]
),
(
"<foo: <bar: 23>>",
[
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")
]
),
(