emacs-diffs
[Top][All Lists]
Advanced

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

scratch/bug-42149-funny-pcm-completion-scores 4281cbe 2/2: Make a comple


From: João Távora
Subject: scratch/bug-42149-funny-pcm-completion-scores 4281cbe 2/2: Make a completion test robust to custom completion styles
Date: Tue, 24 Nov 2020 18:52:44 -0500 (EST)

branch: scratch/bug-42149-funny-pcm-completion-scores
commit 4281cbeadb3ce8de5a842ff095df9cd01b18151c
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>

    Make a completion test robust to custom completion styles
    
    * test/lisp/minibuffer-tests.el (completion-test1): Make test
    resilient to more completion styles.
---
 test/lisp/minibuffer-tests.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/lisp/minibuffer-tests.el b/test/lisp/minibuffer-tests.el
index 5988656..d665587b 100644
--- a/test/lisp/minibuffer-tests.el
+++ b/test/lisp/minibuffer-tests.el
@@ -41,7 +41,8 @@
                                          (list (copy-marker (point-min))
                                                (copy-marker (point))
                                                #'test/completion-table)))
-      (let ((completion-at-point-functions (list #'test/completion-at-point)))
+      (let ((completion-styles '(basic))
+            (completion-at-point-functions (list #'test/completion-at-point)))
         (insert "TEST")
         (completion-at-point)
         (should (equal (buffer-string)



reply via email to

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