From: Stefan Kangas Date: Mon, 9 Nov 2020 10:35:32 +0000 (+0100) Subject: Remove test for return value of set-keymap-parent X-Git-Tag: emacs-28.0.90~5212^2~5 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3289b96abd12058439f02e84415793acb44a733b;p=emacs.git 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 . --- 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)))