aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-face-diagnostic.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test-face-diagnostic.el b/tests/test-face-diagnostic.el
index f75d5b679..241425fc5 100644
--- a/tests/test-face-diagnostic.el
+++ b/tests/test-face-diagnostic.el
@@ -322,5 +322,11 @@
(should (string-match-p "Face stack" (buffer-string)))))
(when (buffer-live-p buf) (kill-buffer buf))))))
+;;; keybinding
+
+(ert-deftest test-face-diag-bound-on-c-h-F ()
+ "Normal: loading the module binds C-h F to the diagnostic command."
+ (should (eq (keymap-lookup help-map "F") 'cj/describe-face-at-point)))
+
(provide 'test-face-diagnostic)
;;; test-face-diagnostic.el ends here