Silence byte-compiler in two tests
* test/lisp/electric-tests.el (electric-pair-define-test-form): * test/src/buffer-tests.el (buffer-tests--make-test-name): Silence byte-compiler by defining defuns also at run time.
This commit is contained in:
parent
3e20a90019
commit
702a5c6feb
2 changed files with 2 additions and 2 deletions
|
|
@ -79,7 +79,7 @@
|
|||
(should (equal (point)
|
||||
expected-point))))
|
||||
|
||||
(eval-when-compile
|
||||
(eval-and-compile
|
||||
(defun electric-pair-define-test-form (name fixture
|
||||
char
|
||||
pos
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ with parameters from the *Messages* buffer modification."
|
|||
;; | Overlay test setup
|
||||
;; +==========================================================================+
|
||||
|
||||
(eval-when-compile
|
||||
(eval-and-compile
|
||||
(defun buffer-tests--make-test-name (fn x y)
|
||||
(intern (format "buffer-tests--%s-%s-%s" fn x y))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue