Add a test for __repr__ tag matching with simple content

This commit is contained in:
Dave Pearson 2022-10-11 15:48:37 +01:00
parent 022c02722d
commit 86ef7d5298
No known key found for this signature in database
GPG Key ID: B413E0EF113D4ABF
1 changed files with 10 additions and 0 deletions

View File

@ -30,6 +30,16 @@ highlight_tests = [
Span(4, 5, "repr.tag_end"), Span(4, 5, "repr.tag_end"),
], ],
), ),
(
"<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')
]
),
( (
"False True None", "False True None",
[ [