summaryrefslogtreecommitdiff
path: root/tests/test-wttrin-ansi-color-rendering.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-11-13 14:14:45 -0600
committerCraig Jennings <c@cjennings.net>2025-11-13 14:14:45 -0600
commitbf989bb594680eb2e3b69f55752353aa33cb47bb (patch)
tree5bf2840987672d63ec921161481d92c4139b0507 /tests/test-wttrin-ansi-color-rendering.el
parentb5633450732d6496c49a0628c8db80121d97facc (diff)
refactor: core: rename wttrin-mode-line-favorite-location to wttrin-favorite-locationHEADmain
Renamed variable to remove 'mode-line' prefix, making it usable for future location-based features beyond mode-line display. Updated all references in code, tests, and documentation. All 187 tests passing.
Diffstat (limited to 'tests/test-wttrin-ansi-color-rendering.el')
-rw-r--r--tests/test-wttrin-ansi-color-rendering.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-wttrin-ansi-color-rendering.el b/tests/test-wttrin-ansi-color-rendering.el
index 0945a2f..656971b 100644
--- a/tests/test-wttrin-ansi-color-rendering.el
+++ b/tests/test-wttrin-ansi-color-rendering.el
@@ -120,7 +120,7 @@ This reproduces the bug where mode-line click shows white text."
(let* ((location "Paris")
(cache-key (wttrin--make-cache-key location))
(now 1000.0)
- (wttrin-mode-line-favorite-location location))
+ (wttrin-favorite-location location))
;; Mock the async fetch to return ANSI-coded data
(cl-letf (((symbol-function 'float-time)
@@ -259,7 +259,7 @@ This is the exact user workflow that exposes the bug."
(unwind-protect
(let* ((location "Tokyo")
(now 1000.0)
- (wttrin-mode-line-favorite-location location)
+ (wttrin-favorite-location location)
(mode-line-fetch-count 0)
(main-fetch-count 0))