MCPcopy
hub / github.com/pterm/pterm / TestBoxPrinter_WithTitleWithTitleBottomLeft

Function TestBoxPrinter_WithTitleWithTitleBottomLeft

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

Source from the content-addressed store, hash-verified

189}
190
191func TestBoxPrinter_WithTitleWithTitleBottomLeft(t *testing.T) {
192 p := pterm.BoxPrinter{}
193 p2 := p.WithTitleBottomLeft().WithTitle("a").Sprint("Lorem Ipsum")
194
195 testza.AssertContains(t, p2, "Lorem Ipsum")
196}
197
198func TestBoxPrinter_WithTitleWithTitleTopLeft(t *testing.T) {
199 p := pterm.BoxPrinter{}

Callers

nothing calls this directly

Calls 3

WithTitleBottomLeftMethod · 0.95
SprintMethod · 0.65
WithTitleMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…