emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/bash-completion b4fe25b51c 060/313: update tests for lates


From: ELPA Syncer
Subject: [nongnu] elpa/bash-completion b4fe25b51c 060/313: update tests for latest refactorings
Date: Sat, 3 Dec 2022 10:59:16 -0500 (EST)

branch: elpa/bash-completion
commit b4fe25b51c9a66761988dc92dbe2223a51f7e20b
Author: Stephane Zermatten <szermatt@gmx.net>
Commit: Stephane Zermatten <szermatt@gmx.net>

    update tests for latest refactorings
---
 bash-completion_test.el | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/bash-completion_test.el b/bash-completion_test.el
index 4f1f82c6aa..3dc19dd740 100644
--- a/bash-completion_test.el
+++ b/bash-completion_test.el
@@ -460,11 +460,11 @@ garbage
       (bash-completion-fix " world" "hello")
       "hello\\ world")
 
-     ("bash-completion-extract"
+     ("bash-completion-extract-candidates"
       (flet ((bash-completion-buffer () (current-buffer)))
        (sz-testutils-with-buffer
         "hello world\nhello \n\n"
-        (bash-completion-extract "hello")))
+        (bash-completion-extract-candidates "hello")))
       '("hello\\ world" "hello "))
 
      ("bash-completion-nonsep"
@@ -475,16 +475,16 @@ garbage
       '("^ \t\n\r;&|'\"" "^ \t\n\r'" "^ \t\n\r\""))
 
 
-     ("bash-completion-escape"
-      (bash-completion-escape "He said: \"hello, 'you'\"")
+     ("bash-completion-escape-candidate"
+      (bash-completion-escape-candidate "He said: \"hello, 'you'\"")
       "He\\ said:\\ \\\"hello,\\ \\'you\\'\\\"")
 
-     ("bash-completion-escape not if double quoted"
-      (bash-completion-escape "\"hello, you")
+     ("bash-completion-escape-candidate not if double quoted"
+      (bash-completion-escape-candidate "\"hello, you")
       "\"hello, you")
 
-     ("bash-completion-escape not if single quoted"
-      (bash-completion-escape "'hello, you")
+     ("bash-completion-escape-candidate not if single quoted"
+      (bash-completion-escape-candidate "'hello, you")
       "'hello, you")
 
      ("bash-completion-quote allowed"



reply via email to

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