]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix minibuffer-completion tests
authorEli Zaretskii <eliz@gnu.org>
Fri, 13 Jan 2023 13:36:00 +0000 (15:36 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 13 Jan 2023 13:36:00 +0000 (15:36 +0200)
* test/lisp/minibuffer-tests.el (completions-header-format-test):
Fix the test which first fired, and then drew the target...

test/lisp/minibuffer-tests.el

index 1de8e56cbd4afa6ce430809b57291716ae0a8af6..2ac5e0f29d6425e47129410244f35993f618968f 100644 (file)
       (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)))