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

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

[nongnu] elpa/bash-completion 7f0160d271 065/313: Trim strange results t


From: ELPA Syncer
Subject: [nongnu] elpa/bash-completion 7f0160d271 065/313: Trim strange results that are a subset of the current value: test case
Date: Sat, 3 Dec 2022 10:59:17 -0500 (EST)

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

    Trim strange results that are a subset of the current value: test case
---
 bash-completion_test.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/bash-completion_test.el b/bash-completion_test.el
index b00251e906..b456c22d03 100644
--- a/bash-completion_test.el
+++ b/bash-completion_test.el
@@ -460,6 +460,10 @@ garbage
       (bash-completion-fix " world" "hello")
       "hello\\ world")
 
+     ("bash-completion-fix subset of the prefix"
+      (bash-completion-fix "Dexter" "Dexter'")
+      "Dexter")
+
      ("bash-completion-extract-candidates"
       (flet ((bash-completion-buffer () (current-buffer)))
        (sz-testutils-with-buffer



reply via email to

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