(t *testing.T)
| 76 | } |
| 77 | |
| 78 | func TestSpinnerPrinter_UpdateTextRawOutput(t *testing.T) { |
| 79 | pterm.DisableStyling() |
| 80 | p := pterm.DefaultSpinner |
| 81 | p.Start() |
| 82 | p.UpdateText("test") |
| 83 | |
| 84 | testza.AssertEqual(t, "test", p.Text) |
| 85 | p.Stop() |
| 86 | pterm.EnableStyling() |
| 87 | } |
| 88 | |
| 89 | func TestSpinnerPrinter_StopSetsIsActiveWhenRawOutput(t *testing.T) { |
| 90 | // Regression test for https://github.com/pterm/pterm/issues/763 |
nothing calls this directly
no test coverage detected
searching dependent graphs…