; * test/lisp/emacs-lisp/generator-tests.el: Style fixes.

This commit is contained in:
Philipp Stephani 2020-07-31 23:50:04 +02:00
parent d767418b76
commit f54ddb0198

View file

@ -22,6 +22,10 @@
;;; Commentary:
;; Unit tests for generator.el.
;;; Code:
(require 'generator)
(require 'ert)
(require 'cl-lib)
@ -38,8 +42,7 @@
`cps-testcase' defines an ERT testcase called NAME that evaluates
BODY twice: once using ordinary `eval' and once using
lambda-generators. The test ensures that the two forms produce
identical output.
"
identical output."
`(progn
(ert-deftest ,name ()
(should
@ -302,3 +305,5 @@ identical output.
(lambda (it) (- it))
(1+ it)))))))
-2)))
;;; generator-tests.el ends here