aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test-integration-startup.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test-integration-startup.el b/tests/test-integration-startup.el
index bf2d8e7..63d7c76 100644
--- a/tests/test-integration-startup.el
+++ b/tests/test-integration-startup.el
@@ -245,6 +245,12 @@ This validates the early-return mechanism works correctly."
;; Reset validation state so chime-check will validate on next call
(setq chime--validation-done nil)
+ (setq chime--validation-retry-count 0)
+
+ ;; Clear state from any previous tests so we can verify
+ ;; early return doesn't set these
+ (setq chime--upcoming-events nil)
+ (setq chime-modeline-string nil)
;; Call chime-check - should return early without error
;; Before the fix, this would throw: (no-catch --cl-block-chime-check-- nil)