MCPcopy
hub / github.com/pterm/pterm / TestProgressbarPrinter_WithTitle

Function TestProgressbarPrinter_WithTitle

progressbar_printer_test.go:178–183  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

176}
177
178func TestProgressbarPrinter_WithTitle(t *testing.T) {
179 p := pterm.ProgressbarPrinter{}
180 p2 := p.WithTitle("test")
181
182 testza.AssertEqual(t, "test", p2.Title)
183}
184
185func TestProgressbarPrinter_WithTitleStyle(t *testing.T) {
186 s := pterm.NewStyle(pterm.FgRed, pterm.BgBlue, pterm.Bold)

Callers

nothing calls this directly

Calls 1

WithTitleMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…