diff options
| author | Philipp Stephani | 2020-06-10 15:49:57 +0200 |
|---|---|---|
| committer | Philipp Stephani | 2020-06-10 15:49:57 +0200 |
| commit | ee8b2742d7f6d03daea37f1bac48c2746f7ca789 (patch) | |
| tree | c184678fe35608bd584f169cf38249af970dc09d | |
| parent | 00f4b7215c63b02171d0a5c48d3da802a202463e (diff) | |
| download | emacs-ee8b2742d7f6d03daea37f1bac48c2746f7ca789.tar.gz emacs-ee8b2742d7f6d03daea37f1bac48c2746f7ca789.zip | |
; * test/lisp/emacs-lisp/generator-tests.el: Checkdoc fixes
| -rw-r--r-- | test/lisp/emacs-lisp/generator-tests.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/lisp/emacs-lisp/generator-tests.el b/test/lisp/emacs-lisp/generator-tests.el index 0d325f1485a..bcfab201636 100644 --- a/test/lisp/emacs-lisp/generator-tests.el +++ b/test/lisp/emacs-lisp/generator-tests.el | |||
| @@ -26,6 +26,8 @@ | |||
| 26 | (require 'ert) | 26 | (require 'ert) |
| 27 | (require 'cl-lib) | 27 | (require 'cl-lib) |
| 28 | 28 | ||
| 29 | ;;; Code: | ||
| 30 | |||
| 29 | (defun generator-list-subrs () | 31 | (defun generator-list-subrs () |
| 30 | (cl-loop for x being the symbols | 32 | (cl-loop for x being the symbols |
| 31 | when (and (fboundp x) | 33 | when (and (fboundp x) |
| @@ -38,8 +40,7 @@ | |||
| 38 | `cps-testcase' defines an ERT testcase called NAME that evaluates | 40 | `cps-testcase' defines an ERT testcase called NAME that evaluates |
| 39 | BODY twice: once using ordinary `eval' and once using | 41 | BODY twice: once using ordinary `eval' and once using |
| 40 | lambda-generators. The test ensures that the two forms produce | 42 | lambda-generators. The test ensures that the two forms produce |
| 41 | identical output. | 43 | identical output." |
| 42 | " | ||
| 43 | `(progn | 44 | `(progn |
| 44 | (ert-deftest ,name () | 45 | (ert-deftest ,name () |
| 45 | (should | 46 | (should |
| @@ -302,3 +303,5 @@ identical output. | |||
| 302 | (lambda (it) (- it)) | 303 | (lambda (it) (- it)) |
| 303 | (1+ it))))))) | 304 | (1+ it))))))) |
| 304 | -2))) | 305 | -2))) |
| 306 | |||
| 307 | ;;; generator-tests.el ends here | ||