replace is_control with list of control codes

This commit is contained in:
Will McGugan 2021-03-14 11:47:03 +00:00
parent 6f972a059a
commit a998f23084
14 changed files with 188 additions and 156 deletions

View file

@ -70,6 +70,7 @@ highlight_tests = [
('"hello"', [Span(0, 7, "repr.str")]),
('"""hello"""', [Span(0, 11, "repr.str")]),
("\\'foo'", []),
("it's no 'string'", [Span(8, 16, "repr.str")]),
]