Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Textualize/rich
/ test_align_left
Function
test_align_left
tests/test_text.py:936–939 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
934
935
936
def
test_align_left():
937
text = Text(
"foo"
)
938
text.align(
"left"
, 10)
939
assert text.plain ==
"foo "
940
941
942
def
test_align_right():
Callers
nothing calls this directly
Calls
2
align
Method · 0.95
Text
Class · 0.90
Tested by
no test coverage detected