diff options
author | Philipp Stephani <phst@google.com> | 2020-07-31 23:50:04 +0200 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2020-07-31 23:50:04 +0200 |
commit | f54ddb0198640e38c1d34bf6031ff5117c117c85 (patch) | |
tree | b20183515c92229d4206b989645f45dff0829251 /test/lisp/emacs-lisp | |
parent | d767418b76818e4e83bf19cc08307c1329144c13 (diff) | |
download | emacs-f54ddb0198640e38c1d34bf6031ff5117c117c85.tar.gz emacs-f54ddb0198640e38c1d34bf6031ff5117c117c85.tar.bz2 emacs-f54ddb0198640e38c1d34bf6031ff5117c117c85.zip |
; * test/lisp/emacs-lisp/generator-tests.el: Style fixes.
Diffstat (limited to 'test/lisp/emacs-lisp')
-rw-r--r-- | test/lisp/emacs-lisp/generator-tests.el | 9 |
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 |