MCPcopy
hub / github.com/pterm/pterm / TestBoxPrinter_WithBottomPadding

Function TestBoxPrinter_WithBottomPadding

box_printer_test.go:119–125  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

117}
118
119func TestBoxPrinter_WithBottomPadding(t *testing.T) {
120 p := pterm.BoxPrinter{}
121 p2 := p.WithBottomPadding(5)
122
123 testza.AssertEqual(t, 5, p2.BottomPadding)
124 testza.AssertZero(t, p.BottomPadding)
125}
126
127func TestBoxPrinter_WithBottomRightCornerString(t *testing.T) {
128 p := pterm.BoxPrinter{}

Callers

nothing calls this directly

Calls 1

WithBottomPaddingMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…