summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2020-07-31 23:50:04 +0200
committerPhilipp Stephani <phst@google.com>2020-07-31 23:50:04 +0200
commitf54ddb0198640e38c1d34bf6031ff5117c117c85 (patch)
treeb20183515c92229d4206b989645f45dff0829251 /test
parentd767418b76818e4e83bf19cc08307c1329144c13 (diff)
downloademacs-f54ddb0198640e38c1d34bf6031ff5117c117c85.tar.gz
; * test/lisp/emacs-lisp/generator-tests.el: Style fixes.
Diffstat (limited to 'test')
-rw-r--r--test/lisp/emacs-lisp/generator-tests.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/lisp/emacs-lisp/generator-tests.el b/test/lisp/emacs-lisp/generator-tests.el
index 0d325f1485a..e0d9167118e 100644
--- a/test/lisp/emacs-lisp/generator-tests.el
+++ b/test/lisp/emacs-lisp/generator-tests.el
@@ -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