aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-25 13:00:57 -0400
committerCraig Jennings <c@cjennings.net>2026-06-25 13:00:57 -0400
commit7ea6e7274e926f36685775daeae040219a5886f8 (patch)
tree36bc4627fc3ac59f5f85c7a29729e76deba8a86d /tests
parentb5ebf394f8df83f1138489c25ab0735f9109459f (diff)
downloaddotemacs-7ea6e7274e926f36685775daeae040219a5886f8.tar.gz
dotemacs-7ea6e7274e926f36685775daeae040219a5886f8.zip
chore(dashboard): use the nf-cod-library codicon for the Calibre launcher
Closer to the actual Calibre logo than the faicon book-open. Switches the launcher's icon function to nerd-icons-codicon, adds the matching declare-function, and adds nerd-icons-codicon to the test's icon mock.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-dashboard-config-launchers.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-dashboard-config-launchers.el b/tests/test-dashboard-config-launchers.el
index e7e8d2f33..a9a871979 100644
--- a/tests/test-dashboard-config-launchers.el
+++ b/tests/test-dashboard-config-launchers.el
@@ -56,7 +56,8 @@ Slack, Linear, and Signal sharing the last row."
(cl-letf (((symbol-function 'nerd-icons-faicon) (lambda (n &rest _) (concat "I:" n)))
((symbol-function 'nerd-icons-devicon) (lambda (n &rest _) (concat "I:" n)))
((symbol-function 'nerd-icons-mdicon) (lambda (n &rest _) (concat "I:" n)))
- ((symbol-function 'nerd-icons-octicon) (lambda (n &rest _) (concat "I:" n))))
+ ((symbol-function 'nerd-icons-octicon) (lambda (n &rest _) (concat "I:" n)))
+ ((symbol-function 'nerd-icons-codicon) (lambda (n &rest _) (concat "I:" n))))
(let ((rows (cj/dashboard--navigator-rows)))
(should (= 4 (length rows)))
(should (equal '(4 4 3 3) (mapcar #'length rows)))