MCPcopy Create free account
hub / github.com/MiniMax-AI/Mini-Agent / test_text_exceeds_width

Method test_text_exceeds_width

tests/test_terminal_utils.py:159–162  ·  view source on GitHub ↗

Test when text exceeds target width.

(self)

Source from the content-addressed store, hash-verified

157 assert result == "Hello"
158
159 def test_text_exceeds_width(self):
160 """Test when text exceeds target width."""
161 result = pad_to_width("Hello World", 5)
162 assert result == "Hello World" # No truncation, just return as-is
163
164 def test_invalid_align(self):
165 """Test invalid alignment value."""

Callers

nothing calls this directly

Calls 1

pad_to_widthFunction · 0.90

Tested by

no test coverage detected