aboutsummaryrefslogtreecommitdiff
path: root/tests/test-modeline-config-vc-cache-key.el
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-modeline-config-vc-cache-key.el')
-rw-r--r--tests/test-modeline-config-vc-cache-key.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test-modeline-config-vc-cache-key.el b/tests/test-modeline-config-vc-cache-key.el
index 6ba7985c..38052949 100644
--- a/tests/test-modeline-config-vc-cache-key.el
+++ b/tests/test-modeline-config-vc-cache-key.el
@@ -17,20 +17,20 @@
(ert-deftest test-modeline-vc-cache-key-is-file-and-show-remote ()
"Normal: the key is (FILE SHOW-REMOTE), with no per-render file-truename stat."
(let ((cj/modeline-vc-show-remote nil))
- (should (equal (cj/modeline-vc-cache-key "/x/y.el") '("/x/y.el" nil)))))
+ (should (equal (cj/--modeline-vc-cache-key "/x/y.el") '("/x/y.el" nil)))))
(ert-deftest test-modeline-vc-cache-key-tracks-show-remote ()
"Boundary: toggling show-remote yields a different key (separate cache entry)."
(should-not (equal (let ((cj/modeline-vc-show-remote nil))
- (cj/modeline-vc-cache-key "/x/y.el"))
+ (cj/--modeline-vc-cache-key "/x/y.el"))
(let ((cj/modeline-vc-show-remote t))
- (cj/modeline-vc-cache-key "/x/y.el")))))
+ (cj/--modeline-vc-cache-key "/x/y.el")))))
(ert-deftest test-modeline-vc-cache-key-stable-for-same-file ()
"Boundary: the key is stable across calls for an unchanged file + show-remote."
(let ((cj/modeline-vc-show-remote nil))
- (should (equal (cj/modeline-vc-cache-key "/x/y.el")
- (cj/modeline-vc-cache-key "/x/y.el")))))
+ (should (equal (cj/--modeline-vc-cache-key "/x/y.el")
+ (cj/--modeline-vc-cache-key "/x/y.el")))))
(provide 'test-modeline-config-vc-cache-key)
;;; test-modeline-config-vc-cache-key.el ends here