Commit 66a2c412 authored by Philipp Stephani's avatar Philipp Stephani
Browse files

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.
parent cf11fac1
Pipeline #1488 passed with stage
in 52 minutes and 23 seconds
;;; 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)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment