branch: elpa/bash-completion
commit b4fe25b51c9a66761988dc92dbe2223a51f7e20b
Author: Stephane Zermatten <[email protected]>
Commit: Stephane Zermatten <[email protected]>
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"