(t *testing.T)
| 206 | } |
| 207 | |
| 208 | func TestSpinnerStopWithoutStart(t *testing.T) { |
| 209 | spinner := NewSpinner("Test message") |
| 210 | |
| 211 | // Stop without start should not panic |
| 212 | spinner.Stop() |
| 213 | spinner.StopWithMessage("Message") |
| 214 | } |
| 215 | |
| 216 | type panicInitModel struct{} |
| 217 |
nothing calls this directly
no test coverage detected