MCPcopy Create free account
hub / github.com/github/gh-aw / TestSpinnerStopWithoutStart

Function TestSpinnerStopWithoutStart

pkg/console/spinner_test.go:208–214  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

206}
207
208func 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
216type panicInitModel struct{}
217

Callers

nothing calls this directly

Calls 3

NewSpinnerFunction · 0.70
StopMethod · 0.45
StopWithMessageMethod · 0.45

Tested by

no test coverage detected