From: Eli Zaretskii Date: Fri, 13 Jan 2023 13:36:00 +0000 (+0200) Subject: Fix minibuffer-completion tests X-Git-Tag: emacs-29.0.90~746 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=861556c1339;p=emacs.git Fix minibuffer-completion tests * test/lisp/minibuffer-tests.el (completions-header-format-test): Fix the test which first fired, and then drew the target... --- diff --git a/test/lisp/minibuffer-tests.el b/test/lisp/minibuffer-tests.el index 1de8e56cbd4..2ac5e0f29d6 100644 --- a/test/lisp/minibuffer-tests.el +++ b/test/lisp/minibuffer-tests.el @@ -421,7 +421,7 @@ (switch-to-completions) ;; Fixed in bug#55430 (should (equal "aa" (get-text-property (point) 'completion--string))) - (next-completion 2) + (next-completion 3) (should (equal "ac" (get-text-property (point) 'completion--string))) (previous-completion 2) (should (equal "aa" (get-text-property (point) 'completion--string)))