From 3289b96abd12058439f02e84415793acb44a733b Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Mon, 9 Nov 2020 11:35:32 +0100 Subject: [PATCH] Remove test for return value of set-keymap-parent * test/src/keymap-tests.el (keymap-keymap-set-parent/returns-parent): Remove test for the return value of set-keymap-parent. It is not clear that returning the value is a very good idea. Problem pointed out by Stefan Monnier . --- test/src/keymap-tests.el | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/src/keymap-tests.el b/test/src/keymap-tests.el index 8331a41e3f8..e3dd8420d7b 100644 --- a/test/src/keymap-tests.el +++ b/test/src/keymap-tests.el @@ -48,10 +48,6 @@ (set-keymap-parent map help-mode-map) (should (equal (keymap-parent map) help-mode-map)))) -(ert-deftest keymap-keymap-set-parent/returns-parent () - (let ((map (make-keymap))) - (should (equal (set-keymap-parent map help-mode-map) help-mode-map)))) - (ert-deftest keymap-copy-keymap/is-equal () (should (equal (copy-keymap help-mode-map) help-mode-map))) -- 2.39.2