Skip to content

Commit

Permalink
tests(highlighter): Add test for tilde in url
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeSavefrogs committed Jul 30, 2023
1 parent 956bfa5 commit a6aebd5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_highlighter.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ def test_wrong_type():
(" https://example.org ", [Span(1, 20, "repr.url")]),
(" http://example.org ", [Span(1, 19, "repr.url")]),
(" http://example.org/index.html ", [Span(1, 30, "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")]),
("'hello'", [Span(0, 7, "repr.str")]),
Expand Down

0 comments on commit a6aebd5

Please sign in to comment.