[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/with-simulated-input 5bdbde591d 058/134: Eliminate spuriou
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/with-simulated-input 5bdbde591d 058/134: Eliminate spurious warning in test file |
Date: |
Mon, 10 Jan 2022 23:00:05 -0500 (EST) |
branch: elpa/with-simulated-input
commit 5bdbde591dae0fa53791522946fa9c37fe9ae8b4
Author: Ryan C. Thompson <rct@thompsonclan.org>
Commit: Ryan C. Thompson <rct@thompsonclan.org>
Eliminate spurious warning in test file
---
tests/test-with-simulated-input.el | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/tests/test-with-simulated-input.el
b/tests/test-with-simulated-input.el
index 7cfd30386e..7b9632cfd0 100644
--- a/tests/test-with-simulated-input.el
+++ b/tests/test-with-simulated-input.el
@@ -8,7 +8,7 @@
(require 'buttercup)
;; Needs to be dynamically bound
-(defvar mycollection)
+(defvar my-collection)
(defvar my-non-lexical-var)
(describe "`wsi-get-unbound-key'"
@@ -80,7 +80,7 @@
:var (completing-read-function)
(before-each
- (setq mycollection '("bluebird" "blueberry" "bluebell" "bluegrass"
"baseball")
+ (setq my-collection '("bluebird" "blueberry" "bluebell" "bluegrass"
"baseball")
completing-read-function #'completing-read-default))
;; Unambiguous completion
@@ -88,13 +88,13 @@
(expect
;; First TAB completes "blue", 2nd completes "bird"
(with-simulated-input "bl TAB bi TAB RET"
- (completing-read "Choose: " mycollection))
+ (completing-read "Choose: " my-collection))
:to-equal "bluebird"))
(it "should work with ambiguous tab completion"
(expect
(with-simulated-input "bl TAB C-j"
- (completing-read "Choose: " mycollection))
+ (completing-read "Choose: " my-collection))
:to-equal "blue"))
(it "should fail to exit with ambiguous completion and `require-match'"
@@ -103,7 +103,7 @@
(expect
(with-simulated-input "bl TAB C-j"
- (completing-read "Choose: " mycollection nil t))
+ (completing-read "Choose: " my-collection nil t))
:to-throw)))
(describe "using lisp forms in KEYS argument of `with-simulated-input'"
- [nongnu] branch elpa/with-simulated-input created (now 0f43fe46d4), ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 568bfb8e1d 015/134: Version 2.0, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 5bdbde591d 058/134: Eliminate spurious warning in test file,
ELPA Syncer <=
- [nongnu] elpa/with-simulated-input 433ee087ce 066/134: Test: handle `undercover' not being installed, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input ea6735cf1b 083/134: KEYS: support a single variable, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input d32cbc3ac9 093/134: Revert "Remove interpolation test", ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 39dbadff0b 120/134: Update the README to reflect current supported syntax, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input e7a7a6c39d 109/134: Don't use "define-advice" in tests, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 334f9f244f 119/134: Implement support for characters in KEYS, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 00209c2be3 128/134: Test on 27.2 instead of 27.1, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 1006e93000 125/134: Add more tests to improve coverage, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 9c160b2d81 106/134: Add warnings for quoted list KEYS and nil/constant BODY, ELPA Syncer, 2022/01/10
- [nongnu] elpa/with-simulated-input 4eedb0eee8 126/134: Use an alternate method to disable eager macro-expansion for testing, ELPA Syncer, 2022/01/10