[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/bash-completion c8ddd11ec3 113/313: Fix tests after "Make
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/bash-completion c8ddd11ec3 113/313: Fix tests after "Make bash-completion.el work |
Date: |
Sat, 3 Dec 2022 10:59:21 -0500 (EST) |
branch: elpa/bash-completion
commit c8ddd11ec36bb92b2bcd1a4ca5e9ae549d298f89
Author: Stephane Zermatten <szermatt@gmx.net>
Commit: Stephane Zermatten <szermatt@gmx.net>
Fix tests after "Make bash-completion.el work
under emacs trunk."
---
bash-completion_test.el | 34 +++++++++++++++++++++++-----------
1 file changed, 23 insertions(+), 11 deletions(-)
diff --git a/bash-completion_test.el b/bash-completion_test.el
index 2c797459b9..c829bda400 100644
--- a/bash-completion_test.el
+++ b/bash-completion_test.el
@@ -188,7 +188,8 @@ cases. That's why they need to be enabled manually.")
'((line . "a hello world")
(point . 13)
(cword . 2)
- (words . ("a" "hello" "world"))))
+ (words . ("a" "hello" "world"))
+ (stub-start . 9)))
("bash-completion-parse-line cursor in the middle of a word"
(sz-testutils-with-buffer
@@ -197,7 +198,8 @@ cases. That's why they need to be enabled manually.")
'((line . "a hello wo")
(point . 10)
(cword . 2)
- (words . ("a" "hello" "wo"))))
+ (words . ("a" "hello" "wo"))
+ (stub-start . 9)))
("bash-completion-parse-line cursor at the beginning"
(sz-testutils-with-buffer
@@ -206,7 +208,9 @@ cases. That's why they need to be enabled manually.")
'((line . "")
(point . 0)
(cword . 0)
- (words . (""))))
+ (words . (""))
+ (stub-start . 2)
+ ))
("bash-completion-parse-line cursor in the middle"
(sz-testutils-with-buffer
@@ -215,7 +219,8 @@ cases. That's why they need to be enabled manually.")
'((line . "a hello ")
(point . 8)
(cword . 2)
- (words . ("a" "hello" ""))))
+ (words . ("a" "hello" ""))
+ (stub-start . 9)))
("bash-completion-parse-line cursor at end"
(sz-testutils-with-buffer
@@ -224,7 +229,8 @@ cases. That's why they need to be enabled manually.")
'((line . "a hello world b c")
(point . 17)
(cword . 4)
- (words . ("a" "hello" "world" "b" "c"))))
+ (words . ("a" "hello" "world" "b" "c"))
+ (stub-start . 17)))
("bash-completion-parse-line complex multi-command line"
(sz-testutils-with-buffer
@@ -233,7 +239,8 @@ cases. That's why they need to be enabled manually.")
'((line . "make -")
(point . 6)
(cword . 1)
- (words . ("make" "-"))))
+ (words . ("make" "-"))
+ (stub-start . 27)))
("bash-completion-parse-line pipe"
@@ -243,7 +250,8 @@ cases. That's why they need to be enabled manually.")
'((line . "sort -")
(point . 6)
(cword . 1)
- (words . ("sort" "-"))))
+ (words . ("sort" "-"))
+ (stub-start . 20)))
("bash-completion-parse-line escaped semicolon"
(sz-testutils-with-buffer
@@ -252,7 +260,8 @@ cases. That's why they need to be enabled manually.")
'((line . "find -name '*.txt' -exec echo {} ';' -")
(point . 38)
(cword . 7)
- (words . ("find" "-name" "*.txt" "-exec" "echo" "{}" ";" "-"))))
+ (words . ("find" "-name" "*.txt" "-exec" "echo" "{}" ";" "-"))
+ (stub-start . 38)))
("bash-completion-parse-line at var assignment"
(sz-testutils-with-buffer
@@ -261,7 +270,8 @@ cases. That's why they need to be enabled manually.")
'((line . "ZORG=t")
(point . 6)
(cword . 0)
- (words . ("ZORG=t"))))
+ (words . ("ZORG=t"))
+ (stub-start . 19)))
("bash-completion-parse-line cursor after end"
(sz-testutils-with-buffer
@@ -270,7 +280,8 @@ cases. That's why they need to be enabled manually.")
'((line . "a hello world b c ")
(point . 18)
(cword . 5)
- (words . ("a" "hello" "world" "b" "c" ""))))
+ (words . ("a" "hello" "world" "b" "c" ""))
+ (stub-start . 19)))
("bash-completion-parse-line with escaped quote"
(sz-testutils-with-buffer
@@ -279,7 +290,8 @@ cases. That's why they need to be enabled manually.")
'((line . "cd /vcr/shows/Dexter\\'s")
(point . 23)
(cword . 1)
- (words . ("cd" "/vcr/shows/Dexter's"))))
+ (words . ("cd" "/vcr/shows/Dexter's"))
+ (stub-start . 4)))
("bash-completion-add-to-alist garbage"
(let ((bash-completion-alist nil))
- [nongnu] elpa/bash-completion 583ecc7707 103/313: Merge pull request #1 from kemmason/master, (continued)
- [nongnu] elpa/bash-completion 583ecc7707 103/313: Merge pull request #1 from kemmason/master, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 52af1ff8f7 090/313: Really disable mail check this time ? Set MAILCHECK to -1, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 3859be798a 108/313: Add support for complete -D., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 711ccc2df1 096/313: format example properly, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 7615b1bda5 083/313: changed e-mail address, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion aadb2e20b2 070/313: simplified bash-completion-parse-line, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion ca24f8ada4 073/313: forward last open quote, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion b4fc1a73cb 092/313: removed unnecessary elisp directory, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 3f86d75644 064/313: Trim strange results that are a subset of the current value, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 7f4bcd03a8 110/313: Avoid cluttering .bash_history with commands from, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion c8ddd11ec3 113/313: Fix tests after "Make bash-completion.el work,
ELPA Syncer <=
- [nongnu] elpa/bash-completion d2745d8923 114/313: Extended history, added a pointer to github, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 6413d662ba 116/313: Rewrote the tests using ert instead of regress., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion d65f7e018d 118/313: Skip integration tests if /bin/bash is not executable., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion ec557d8949 123/313: shell-command.el is unnecessary, and has probably been so for years..., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 318e32979f 135/313: Display completion progress message only if completion takes too long., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 2378b04eeb 140/313: More easily call bash-completion-dynamic-complete-nocomint, faking bash, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 43348d0be1 143/313: Bugfixes: remove references to nonexistent variables, such as, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 583d1dde61 151/313: Remove usage of seq-position with a custom implementation., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 664452aca2 157/313: Merge pull request #22 from kfogel/21-fix-completion-re-21149fdc, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion ad8d72c626 162/313: README nit pick ; ), ELPA Syncer, 2022/12/03