MCPcopy Create free account
hub / github.com/codechenx/FastTableViewer / TestWrapText_ExactLength

Function TestWrapText_ExactLength

utils_test.go:94–100  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

92}
93
94func TestWrapText_ExactLength(t *testing.T) {
95 text := "Exactly25CharactersHere!!" // 25 characters
96 result := wrapText(text, 25)
97 if result != text {
98 t.Errorf("Text at exact length should not be wrapped")
99 }
100}
101
102// ========================================
103// Text Truncation Tests

Callers

nothing calls this directly

Calls 1

wrapTextFunction · 0.85

Tested by

no test coverage detected