Skip to content

Commit

Permalink
Format test_highlighter.py using black
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeSavefrogs committed Jul 31, 2023
1 parent 2dd2daa commit 33fcafe
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/test_highlighter.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,14 @@ def test_wrong_type():
(" http://example.org ", [Span(1, 19, "repr.url")]),
(" http://example.org/index.html ", [Span(1, 30, "repr.url")]),
(" http://example.org/index.html#anchor ", [Span(1, 37, "repr.url")]),
(" http://example.org/index.html?param1=value1 ", [Span(31, 37, 'repr.attrib_name'), Span(38, 44, 'repr.attrib_value'), Span(1, 44, "repr.url")]),
(
" http://example.org/index.html?param1=value1 ",
[
Span(31, 37, "repr.attrib_name"),
Span(38, 44, "repr.attrib_value"),
Span(1, 44, "repr.url"),
],
),
(" http://example.org/~folder ", [Span(1, 27, "repr.url")]),
("No place like 127.0.0.1", [Span(14, 23, "repr.ipv4")]),
("''", [Span(0, 2, "repr.str")]),
Expand Down

0 comments on commit 33fcafe

Please sign in to comment.