This commit is contained in:
Will McGugan 2020-10-10 18:39:50 +01:00
parent 6ce51f3ca1
commit 436e300573
2 changed files with 2 additions and 2 deletions

View file

@ -370,4 +370,4 @@ def test_pager() -> None:
with console.pager(pager, styles=True, links=False):
console.print("[bold link https:/example.org]Hello World")
assert pager_content == "Hello World\n"
assert pager_content == "Hello World\n"

View file

@ -95,4 +95,4 @@ def test_strip_styles():
def test_strip_links():
segments = [Segment("foo", Style(bold=True, link="https://www.example.org"))]
assert list(Segment.strip_links(segments)) == [Segment("foo", Style(bold=True))]
assert list(Segment.strip_links(segments)) == [Segment("foo", Style(bold=True))]