diff options
| author | Stefan Monnier | 2024-02-07 11:15:59 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2024-02-07 11:15:59 -0500 |
| commit | 2f3c435056dac17242b2d147bc73df8742c3e374 (patch) | |
| tree | 5245550b5950802bc77d6c60a2973ec17ea38243 /test | |
| parent | cc5d4f15f96f97b6c4eb8b58144d0a0f217d393a (diff) | |
| download | emacs-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.el | 7 |
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 |