aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-10 15:28:31 -0500
committerCraig Jennings <c@cjennings.net>2026-05-10 15:28:31 -0500
commitc8abb9dd4e80335c5d4a87dedd60ef3b18532805 (patch)
treed0a70299ebf37a62b8d1de46847f5260a7a33437 /tests
parentf869eae32f27039f40c484c00c3b79e3e988ced9 (diff)
downloaddotemacs-c8abb9dd4e80335c5d4a87dedd60ef3b18532805.tar.gz
dotemacs-c8abb9dd4e80335c5d4a87dedd60ef3b18532805.zip
refactor(cj-window-toggle): rename to cj-window-toggle-lib for naming consistency
Rename modules/cj-window-toggle.el -> modules/cj-window-toggle-lib.el and tests/test-cj-window-toggle.el -> tests/test-cj-window-toggle-lib.el. Update provide forms, file headers, and the (require 'cj-window-toggle) call sites in ai-vterm.el, vterm-config.el, and the test file. Same rationale as the cj-cache and cj-org-text renames -- library files in this codebase are suffixed `-lib'. No behavior change.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-cj-window-toggle-lib.el (renamed from tests/test-cj-window-toggle.el)10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test-cj-window-toggle.el b/tests/test-cj-window-toggle-lib.el
index c62734639..2c4ea831a 100644
--- a/tests/test-cj-window-toggle.el
+++ b/tests/test-cj-window-toggle-lib.el
@@ -1,7 +1,7 @@
-;;; test-cj-window-toggle.el --- Tests for shared toggle-state helpers -*- lexical-binding: t; -*-
+;;; test-cj-window-toggle-lib.el --- Tests for shared toggle-state helpers -*- lexical-binding: t; -*-
;;; Commentary:
-;; cj-window-toggle.el provides parameterized capture-state and
+;; cj-window-toggle-lib.el provides parameterized capture-state and
;; display-saved helpers shared by ai-vterm.el (F9) and
;; eshell-vterm-config.el (F12). Each consumer holds its own pair of
;; state variables (last-direction symbol + last-size integer/float)
@@ -14,7 +14,7 @@
(require 'cl-lib)
(add-to-list 'load-path (expand-file-name "modules" user-emacs-directory))
-(require 'cj-window-toggle)
+(require 'cj-window-toggle-lib)
(defvar test-cj-window-toggle--last-direction nil)
(defvar test-cj-window-toggle--last-size nil)
@@ -184,5 +184,5 @@
(should (eq (cdr (assq 'direction received-alist)) 'bottom))
(should (= (cdr (assq 'window-height received-alist)) 0.4))))
-(provide 'test-cj-window-toggle)
-;;; test-cj-window-toggle.el ends here
+(provide 'test-cj-window-toggle-lib)
+;;; test-cj-window-toggle-lib.el ends here