aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorStefan Monnier2024-02-07 11:15:59 -0500
committerStefan Monnier2024-02-07 11:15:59 -0500
commit2f3c435056dac17242b2d147bc73df8742c3e374 (patch)
tree5245550b5950802bc77d6c60a2973ec17ea38243 /test
parentcc5d4f15f96f97b6c4eb8b58144d0a0f217d393a (diff)
downloademacs-2f3c435056dac17242b2d147bc73df8742c3e374.tar.gz
emacs-2f3c435056dac17242b2d147bc73df8742c3e374.zip
* test/lisp/minibuffer-tests.el (completion-test--pcm-bug38458): New test
Diffstat (limited to 'test')
-rw-r--r--test/lisp/minibuffer-tests.el7
1 files changed, 7 insertions, 0 deletions
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 @@
201 'completions-first-difference) 201 'completions-first-difference)
202 return pos)) 202 return pos))
203 203
204(ert-deftest completion-test--pcm-bug38458 ()
205 (should (equal (let ((completion-ignore-case t))
206 (completion-pcm--merge-try '("tes" point "ing")
207 '("Testing" "testing")
208 "" ""))
209 '("testing" . 4))))
210
204(ert-deftest completion-pcm-test-1 () 211(ert-deftest completion-pcm-test-1 ()
205 ;; Point is at end, this does not match anything 212 ;; Point is at end, this does not match anything
206 (should (null 213 (should (null