Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Textualize/rich
/ test_pad_right
Function
test_pad_right
tests/test_text.py:343–346 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
341
342
343
def
test_pad_right():
344
text = Text(
"foo"
)
345
text.pad_right(3,
"X"
)
346
assert str(text) ==
"fooXXX"
347
348
349
def
test_append():
Callers
nothing calls this directly
Calls
2
pad_right
Method · 0.95
Text
Class · 0.90
Tested by
no test coverage detected