aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-duet-pane.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test-duet-pane.el b/tests/test-duet-pane.el
index 181309b..df9866b 100644
--- a/tests/test-duet-pane.el
+++ b/tests/test-duet-pane.el
@@ -57,6 +57,10 @@
(should (eq 'duet-delete (lookup-key duet-mode-map (kbd "<f8>"))))
(should (eq 'duet-quit (lookup-key duet-mode-map (kbd "<f10>")))))
+(ert-deftest test-duet-pane-q-quits-the-commander ()
+ "q quits the whole commander (both panes), not just dired's current window."
+ (should (eq 'duet-quit (lookup-key duet-mode-map (kbd "q")))))
+
;;; Minor-mode precedence
(ert-deftest test-duet-pane-mode-is-buffer-local ()