MCPcopy
hub / github.com/pterm/pterm / TestSpinnerPrinter_Success

Function TestSpinnerPrinter_Success

spinner_printer_test.go:52–56  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

50}
51
52func TestSpinnerPrinter_Success(t *testing.T) {
53 testPrintContains(t, func(w io.Writer, a any) {
54 pterm.DefaultSpinner.WithWriter(w).Success(a)
55 })
56}
57
58func TestSpinnerPrinter_UpdateText(t *testing.T) {
59 t.Run("Simple", func(t *testing.T) {

Callers

nothing calls this directly

Calls 3

testPrintContainsFunction · 0.85
SuccessMethod · 0.80
WithWriterMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…