]> git.eshelyaron.com Git - emacs.git/commitdiff
(oclosure-test-limits): Fix test failure when interpreted
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 26 Jun 2022 17:15:15 +0000 (13:15 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 26 Jun 2022 17:15:15 +0000 (13:15 -0400)
* test/lisp/emacs-lisp/oclosure-tests.el (oclosure-test-limits):
Make sure we bind `byte-compile-debug` dynamically.

test/lisp/emacs-lisp/oclosure-tests.el

index b3a921826b15434440a8770c64c5004ae3db70cf..00b008845c0a810b9c1443d62722703cc2cf846b 100644 (file)
@@ -69,6 +69,7 @@
     ))
 
 (ert-deftest oclosure-test-limits ()
+  (defvar byte-compile-debug)
   (should
    (condition-case err
        (let ((lexical-binding t)