MCPcopy Index your code
hub / github.com/pterm/pterm / TestBoxPrinter_WithTitleTopLeft

Function TestBoxPrinter_WithTitleTopLeft

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

Source from the content-addressed store, hash-verified

141}
142
143func TestBoxPrinter_WithTitleTopLeft(t *testing.T) {
144 p := pterm.BoxPrinter{}
145 p2 := p.WithTitleTopLeft()
146
147 testza.AssertEqual(t, true, p2.TitleTopLeft)
148 testza.AssertEqual(t, false, p.TitleTopLeft)
149}
150
151func TestBoxPrinter_WithTitleTopRight(t *testing.T) {
152 p := pterm.BoxPrinter{}

Callers

nothing calls this directly

Calls 1

WithTitleTopLeftMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…