unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Morgan.J.Smith@outlook.com
To: 48102@debbugs.gnu.org
Cc: Morgan Smith <Morgan.J.Smith@outlook.com>, npostavs@gmail.com
Subject: bug#48102: [PATCH] * yasnippet-tests.el: Fix failing tests by adding lisp-data-mode
Date: Thu, 29 Apr 2021 10:12:55 -0400	[thread overview]
Message-ID: <BYAPR05MB4023F2A69FFCF1663ADF78D7C55F9@BYAPR05MB4023.namprd05.prod.outlook.com> (raw)

From: Morgan Smith <Morgan.J.Smith@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






             reply	other threads:[~2021-04-29 14:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-29 14:12 Morgan.J.Smith [this message]
2021-05-02  7:53 ` bug#48102: [PATCH] * yasnippet-tests.el: Fix failing tests by adding lisp-data-mode Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BYAPR05MB4023F2A69FFCF1663ADF78D7C55F9@BYAPR05MB4023.namprd05.prod.outlook.com \
    --to=morgan.j.smith@outlook.com \
    --cc=48102@debbugs.gnu.org \
    --cc=npostavs@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).