Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove lisp-data-mode duplicate from tests #1174

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions yasnippet-tests.el
Original file line number Diff line number Diff line change
Expand Up @@ -1396,9 +1396,7 @@ hello ${1:$(when (stringp yas-text) (funcall func yas-text))} foo${1:$$(concat \
,@(if (fboundp 'lisp-data-mode)
'(lisp-data-mode))
emacs-lisp-mode
lisp-interaction-mode
;; `lisp-data-mode' doesn't exist prior to Emacs 28.
,@(and (fboundp 'lisp-data-mode) '(lisp-data-mode))))
lisp-interaction-mode))
(observed (yas--modes-to-activate)))
(should (equal major-mode (car observed)))
(should (equal (sort expected #'string<) (sort observed #'string<))))))))
Expand Down Expand Up @@ -1429,11 +1427,7 @@ hello ${1:$(when (stringp yas-text) (funcall func yas-text))} foo${1:$$(concat \
'(lisp-data-mode))
emacs-lisp-mode
and-also-this-one
lisp-interaction-mode
;; `lisp-data-mode' doesn't exist prior to
;; Emacs 28.
,@(and (fboundp 'lisp-data-mode)
'(lisp-data-mode))))
lisp-interaction-mode))
(observed (yas--modes-to-activate)))
(should (equal expected-first
(cl-subseq observed 0 (length expected-first))))
Expand Down