MCPcopy
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
343def test_pad_right():
344 text = Text("foo")
345 text.pad_right(3, "X")
346 assert str(text) == "fooXXX"
347
348
349def test_append():

Callers

nothing calls this directly

Calls 2

pad_rightMethod · 0.95
TextClass · 0.90

Tested by

no test coverage detected