mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-22 18:35:09 +00:00
Avoid ert test failures
* lisp/emacs-lisp/ert.el (ert--expand-should-1): Avoid errors related to undefined byte-compile-macro-environment. Somehow masked until very recently because loading seq (eg) loads bytecomp. http://hydra.nixos.org/build/51730765
This commit is contained in:
parent
861824dbec
commit
491531b20d
@ -275,6 +275,7 @@ DATA is displayed to the user and should state the reason for skipping."
|
||||
|
||||
(defun ert--expand-should-1 (whole form inner-expander)
|
||||
"Helper function for the `should' macro and its variants."
|
||||
(require 'bytecomp) ; FIXME?
|
||||
(let ((form
|
||||
(macroexpand form (append byte-compile-macro-environment
|
||||
(cond
|
||||
|
Loading…
Reference in New Issue
Block a user