mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-11 08:30:45 -08: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue