MCPcopy
hub / github.com/pterm/pterm / TestHeaderPrinter_WithFullWidth

Function TestHeaderPrinter_WithFullWidth

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

Source from the content-addressed store, hash-verified

112}
113
114func TestHeaderPrinter_WithFullWidth(t *testing.T) {
115 p := pterm.HeaderPrinter{}
116 p2 := p.WithFullWidth()
117
118 testza.AssertEqual(t, true, p2.FullWidth)
119}
120
121func TestHeaderPrinter_WithFullWidthToLongForTerminal(t *testing.T) {
122 p := pterm.HeaderPrinter{}

Callers

nothing calls this directly

Calls 1

WithFullWidthMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…