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

Method test_no_padding_needed

tests/test_terminal_utils.py:154–157  ·  view source on GitHub ↗

Test when text already reaches target width.

(self)

Source from the content-addressed store, hash-verified

152 assert calculate_display_width(result) == 10
153
154 def test_no_padding_needed(self):
155 """Test when text already reaches target width."""
156 result = pad_to_width("Hello", 5)
157 assert result == "Hello"
158
159 def test_text_exceeds_width(self):
160 """Test when text exceeds target width."""

Callers

nothing calls this directly

Calls 1

pad_to_widthFunction · 0.90

Tested by

no test coverage detected