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

Method test_left_align

tests/test_terminal_utils.py:117–121  ·  view source on GitHub ↗

Test left alignment (default).

(self)

Source from the content-addressed store, hash-verified

115 """Tests for pad_to_width function."""
116
117 def test_left_align(self):
118 """Test left alignment (default)."""
119 result = pad_to_width("Hello", 10)
120 assert result == "Hello "
121 assert len(result) == 10
122
123 def test_right_align(self):
124 """Test right alignment."""

Callers

nothing calls this directly

Calls 1

pad_to_widthFunction · 0.90

Tested by

no test coverage detected