summaryrefslogtreecommitdiff
path: root/test/src/emacs-module-tests.el
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2019-04-28 17:15:04 +0200
committerPhilipp Stephani <phst@google.com>2019-04-28 17:15:44 +0200
commit66a2c412be0dd21e3adeb766a44cc13fd80ba73c (patch)
tree877c99ad5a9c42b328e583e830290e4cb702e6c4 /test/src/emacs-module-tests.el
parentcf11fac1eba8076434de345603c380c3e6894fb0 (diff)
downloademacs-66a2c412be0dd21e3adeb766a44cc13fd80ba73c.tar.gz
emacs-66a2c412be0dd21e3adeb766a44cc13fd80ba73c.tar.bz2
emacs-66a2c412be0dd21e3adeb766a44cc13fd80ba73c.zip
Fix a few minor compilation and Checkdoc warnings.
* test/src/emacs-module-tests.el: Add package name and standard sections. (multiply-string): Add a docstring.
Diffstat (limited to 'test/src/emacs-module-tests.el')
-rw-r--r--test/src/emacs-module-tests.el11
1 files changed, 10 insertions, 1 deletions
diff --git a/test/src/emacs-module-tests.el b/test/src/emacs-module-tests.el
index 40afd76259c..51330e305f6 100644
--- a/test/src/emacs-module-tests.el
+++ b/test/src/emacs-module-tests.el
@@ -1,4 +1,4 @@
-;;; Test GNU Emacs modules. -*- lexical-binding: t; -*-
+;;; emacs-module-tests --- Test GNU Emacs modules. -*- lexical-binding: t; -*-
;; Copyright 2015-2019 Free Software Foundation, Inc.
@@ -17,6 +17,14 @@
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
+;;; Commentary:
+
+;; Unit tests for the dynamic module facility. See Info node `(elisp)
+;; Writing Dynamic Modules'. These tests make use of a small test
+;; module in test/data/emacs-module.
+
+;;; Code:
+
(require 'cl-lib)
(require 'ert)
(require 'help-fns)
@@ -137,6 +145,7 @@ changes."
;;
(defun multiply-string (s n)
+ "Return N copies of S concatenated together."
(let ((res ""))
(dotimes (i n)
(setq res (concat res s)))