[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/hydra 6eaf10f52c 05/46: hydra-test.el (hydra-format-5):
From: |
Stefan Monnier |
Subject: |
[elpa] externals/hydra 6eaf10f52c 05/46: hydra-test.el (hydra-format-5): Fix failing test |
Date: |
Tue, 25 Oct 2022 22:27:19 -0400 (EDT) |
branch: externals/hydra
commit 6eaf10f52c4ffea56b639539f42367afbb891f18
Author: Oleh Krehel <ohwoeowho@gmail.com>
Commit: Oleh Krehel <ohwoeowho@gmail.com>
hydra-test.el (hydra-format-5): Fix failing test
---
hydra-test.el | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/hydra-test.el b/hydra-test.el
index ffbfa2440a..ec6a0c48ec 100644
--- a/hydra-test.el
+++ b/hydra-test.el
@@ -1061,21 +1061,21 @@ _f_ auto-fill-mode: %`auto-fill-function
(should
(equal (hydra--format
nil nil "\n_-_: mark _u_: unmark\n"
- '(("-" Buffer-menu-mark)
- ("u" Buffer-menu-unmark)))
+ '(("-" Buffer-menu-mark nil)
+ ("u" Buffer-menu-unmark nil)))
'(concat
- (format
- "%s: mark %s: unmark\n"
- #("-" 0 1 (face hydra-face-red))
- #("u" 0 1 (face hydra-face-red)))
+ (format
+ "%s: mark %s: unmark\n"
+ #("-" 0 1 (face hydra-face-red))
+ #("u" 0 1 (face hydra-face-red)))
""))))
(ert-deftest hydra-format-6 ()
(should
(equal (hydra--format
nil nil "\n[_]_] forward [_[_] backward\n"
- '(("]" forward-char)
- ("[" backward-char)))
+ '(("]" forward-char nil)
+ ("[" backward-char nil)))
'(concat
(format
"[%s] forward [%s] backward\n"
- [elpa] externals/hydra updated (4532f40ae4 -> 7081ee6d44), Stefan Monnier, 2022/10/25
- [elpa] externals/hydra a23046b7d5 06/46: hydra.el (hydra--hint-from-matrix): Refactor, Stefan Monnier, 2022/10/25
- [elpa] externals/hydra b12d37ac00 03/46: hydra.el (hydra--format): Detect macroexpand, Stefan Monnier, 2022/10/25
- [elpa] externals/hydra 6eaf10f52c 05/46: hydra-test.el (hydra-format-5): Fix failing test,
Stefan Monnier <=
- [elpa] externals/hydra 462202d7fc 11/46: hydra.el (hydra--doc): Fixup, Stefan Monnier, 2022/10/25
- [elpa] externals/hydra ab67b29835 01/46: Declare the third argument of `defhydra’ as a (potential) docstring., Stefan Monnier, 2022/10/25
- [elpa] externals/hydra 1deed8a00e 09/46: fix typo in readme, Stefan Monnier, 2022/10/25
- [elpa] externals/hydra 03eeea324c 10/46: Make first line of hydra docstrings more informative., Stefan Monnier, 2022/10/25
- [elpa] externals/hydra 62e0f37462 14/46: hydra-test.el: Fix tests for previous commit, Stefan Monnier, 2022/10/25
- [elpa] externals/hydra 5b8f662992 16/46: hydra.el (hydra--format): Allow e.g. "M-?" in docstring, Stefan Monnier, 2022/10/25
- [elpa] externals/hydra 44b42598ee 18/46: Fix Typos, Stefan Monnier, 2022/10/25
- [elpa] externals/hydra d071278fcc 20/46: hydra.el (hydra--format): Fix off-by-one, Stefan Monnier, 2022/10/25
- [elpa] externals/hydra 5c5b9ca326 21/46: Silence byte-compiler on Emacs 25, Stefan Monnier, 2022/10/25
- [elpa] externals/hydra e01a79e4b7 24/46: hydra.el (defhydra): Declare "/params" and "/docstring", Stefan Monnier, 2022/10/25