MCPcopy
hub / github.com/pterm/pterm / TestProgressbarPrinter_StartWithTitle

Function TestProgressbarPrinter_StartWithTitle

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

Source from the content-addressed store, hash-verified

67}
68
69func TestProgressbarPrinter_StartWithTitle(t *testing.T) {
70 p := pterm.DefaultProgressbar
71 p2, _ := p.Start("Title")
72 testza.AssertEqual(t, "Title", p2.Title)
73 p.Stop()
74}
75
76func TestProgressbarPrinter_GenericStart(t *testing.T) {
77 p := pterm.DefaultProgressbar

Callers

nothing calls this directly

Calls 2

StartMethod · 0.45
StopMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…