emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 2f3c435056d: * test/lisp/minibuffer-tests.el (completion-test--pc


From: Stefan Monnier
Subject: master 2f3c435056d: * test/lisp/minibuffer-tests.el (completion-test--pcm-bug38458): New test
Date: Wed, 7 Feb 2024 11:16:07 -0500 (EST)

branch: master
commit 2f3c435056dac17242b2d147bc73df8742c3e374
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * test/lisp/minibuffer-tests.el (completion-test--pcm-bug38458): New test
---
 test/lisp/minibuffer-tests.el | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/test/lisp/minibuffer-tests.el b/test/lisp/minibuffer-tests.el
index 07c4dbc3197..c4a7de9e51f 100644
--- a/test/lisp/minibuffer-tests.el
+++ b/test/lisp/minibuffer-tests.el
@@ -201,6 +201,13 @@
                     'completions-first-difference)
            return pos))
 
+(ert-deftest completion-test--pcm-bug38458 ()
+  (should (equal (let ((completion-ignore-case t))
+                   (completion-pcm--merge-try '("tes" point "ing")
+                                              '("Testing" "testing")
+                                              "" ""))
+           '("testing" . 4))))
+
 (ert-deftest completion-pcm-test-1 ()
   ;; Point is at end, this does not match anything
   (should (null



reply via email to

[Prev in Thread] Current Thread [Next in Thread]