()
| 193 | |
| 194 | |
| 195 | def test_highlight_json_empty_string_only(): |
| 196 | json_string = '""' |
| 197 | text = Text(json_string) |
| 198 | highlighter = JSONHighlighter() |
| 199 | highlighter.highlight(text) |
| 200 | assert text.spans == [Span(0, 2, "json.str")] |
| 201 | |
| 202 | |
| 203 | def test_highlight_json_no_indent(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…