MCPcopy
hub / github.com/urfave/cli / TestWrap

Function TestWrap

help_test.go:1510–1513  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

1508}
1509
1510func TestWrap(t *testing.T) {
1511 emptywrap := wrap("", 4, 16)
1512 assert.Empty(t, emptywrap, "Wrapping empty line should return empty line")
1513}
1514
1515func TestWrappedHelp(t *testing.T) {
1516 // Reset HelpPrinter after this test.

Callers

nothing calls this directly

Calls 1

wrapFunction · 0.85

Tested by

no test coverage detected