mirror of
https://github.com/Textualize/rich.git
synced 2025-07-24 04:45:05 +00:00
9 lines
172 B
Python
9 lines
172 B
Python
from rich.segment import Segment
|
|
|
|
|
|
def test_repr():
|
|
assert repr(Segment("foo")) == "Segment('foo', None)"
|
|
|
|
|
|
def test_line():
|
|
assert Segment.line() == Segment("\n")
|