TestRunningReturnsFalseWhenTimedOut verifies that Running() returns false when the timer has timed out.
(t *testing.T)
| 329 | // TestRunningReturnsFalseWhenTimedOut verifies that Running() returns false |
| 330 | // when the timer has timed out. |
| 331 | func TestRunningReturnsFalseWhenTimedOut(t *testing.T) { |
| 332 | m := New(0) |
| 333 | |
| 334 | if m.Running() { |
| 335 | t.Error("expected Running() to return false when timed out") |
| 336 | } |
| 337 | } |
| 338 | |
| 339 | // TestDuplicateTickStreamDoesNotPermanentlyDoubleSpeed reproduces |
| 340 | // https://github.com/charmbracelet/bubbles/issues/1007: the tag-based |