mirror of
https://github.com/Textualize/rich.git
synced 2025-08-04 18:18:22 +00:00
tests(highlighter): Add test for tilde in url
This commit is contained in:
parent
956bfa5fe5
commit
a6aebd5ecf
1 changed files with 1 additions and 0 deletions
|
@ -133,6 +133,7 @@ highlight_tests = [
|
|||
(" 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")]),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue