GNU bug report logs -
#48102
[PATCH] * yasnippet-tests.el: Fix failing tests by adding lisp-data-mode
Previous Next
Reported by: Morgan.J.Smith <at> outlook.com
Date: Thu, 29 Apr 2021 14:33:02 UTC
Severity: normal
Tags: fixed, patch
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
From: Morgan Smith <Morgan.J.Smith <at> outlook.com>
---
I have done my copyright paperwork (not that it's needed for something this small).
lisp-data-mode was added to master on April 18th in commit 43fded12d544ab68f493142debc5b3e437317f35
---
yasnippet-tests.el | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/yasnippet-tests.el b/yasnippet-tests.el
index b8a7980..fdc5395 100644
--- a/yasnippet-tests.el
+++ b/yasnippet-tests.el
@@ -1389,6 +1389,9 @@ (ert-deftest loading-with-cyclic-parenthood ()
;; prog-mode doesn't exist in emacs 23.4
,@(if (fboundp 'prog-mode)
'(prog-mode))
+ ;; lisp-data-mode doesn't exist in emacs 27.1
+ ,@(if (fboundp 'lisp-data-mode)
+ '(lisp-data-mode))
emacs-lisp-mode
lisp-interaction-mode))
(observed (yas--modes-to-activate)))
@@ -1416,6 +1419,9 @@ (ert-deftest extra-modes-parenthood ()
;; prog-mode doesn't exist in emacs 23.4
,@(if (fboundp 'prog-mode)
'(prog-mode))
+ ;; lisp-data-mode doesn't exist in emacs 27.1
+ ,@(if (fboundp 'lisp-data-mode)
+ '(lisp-data-mode))
emacs-lisp-mode
and-also-this-one
lisp-interaction-mode))
--
2.31.1
This bug report was last modified 4 years and 20 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.