aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/lisp/comint-tests.el2
-rw-r--r--test/lisp/custom-resources/custom--test-theme.el2
-rw-r--r--test/lisp/dabbrev-tests.el2
-rw-r--r--test/lisp/emulation/viper-tests.el2
-rw-r--r--test/lisp/erc/erc-track-tests.el2
-rw-r--r--test/lisp/gnus/gnus-tests.el2
-rw-r--r--test/lisp/imenu-tests.el2
-rw-r--r--test/lisp/info-xref-tests.el2
-rw-r--r--test/lisp/jit-lock-tests.el2
-rw-r--r--test/lisp/json-tests.el2
-rw-r--r--test/lisp/man-tests.el4
-rw-r--r--test/lisp/replace-tests.el2
-rw-r--r--test/lisp/shadowfile-tests.el20
-rw-r--r--test/lisp/subr-tests.el2
-rw-r--r--test/lisp/thingatpt-tests.el2
-rw-r--r--test/lisp/xml-tests.el2
16 files changed, 27 insertions, 25 deletions
diff --git a/test/lisp/comint-tests.el b/test/lisp/comint-tests.el
index 9c27a92d2bf..132fe875f72 100644
--- a/test/lisp/comint-tests.el
+++ b/test/lisp/comint-tests.el
@@ -1,4 +1,4 @@
1;;; comint-testsuite.el 1;;; comint-tests.el -*- lexical-binding:t -*-
2 2
3;; Copyright (C) 2010-2020 Free Software Foundation, Inc. 3;; Copyright (C) 2010-2020 Free Software Foundation, Inc.
4 4
diff --git a/test/lisp/custom-resources/custom--test-theme.el b/test/lisp/custom-resources/custom--test-theme.el
index da9121e0a0a..4ced98a50bc 100644
--- a/test/lisp/custom-resources/custom--test-theme.el
+++ b/test/lisp/custom-resources/custom--test-theme.el
@@ -1,3 +1,5 @@
1;;; custom--test-theme.el -- A test theme. -*- lexical-binding:t -*-
2
1(deftheme custom--test 3(deftheme custom--test
2 "A test theme.") 4 "A test theme.")
3 5
diff --git a/test/lisp/dabbrev-tests.el b/test/lisp/dabbrev-tests.el
index 0a2f67e91c7..06c5c0655a7 100644
--- a/test/lisp/dabbrev-tests.el
+++ b/test/lisp/dabbrev-tests.el
@@ -1,4 +1,4 @@
1;;; dabbrev-tests.el --- Test suite for dabbrev. 1;;; dabbrev-tests.el --- Test suite for dabbrev. -*- lexical-binding:t -*-
2 2
3;; Copyright (C) 2016-2020 Free Software Foundation, Inc. 3;; Copyright (C) 2016-2020 Free Software Foundation, Inc.
4 4
diff --git a/test/lisp/emulation/viper-tests.el b/test/lisp/emulation/viper-tests.el
index 33f85e51254..b981938fe19 100644
--- a/test/lisp/emulation/viper-tests.el
+++ b/test/lisp/emulation/viper-tests.el
@@ -1,4 +1,4 @@
1;;; viper-tests.el --- tests for viper. 1;;; viper-tests.el --- tests for viper. -*- lexical-binding:t -*-
2 2
3;; Copyright (C) 2016-2020 Free Software Foundation, Inc. 3;; Copyright (C) 2016-2020 Free Software Foundation, Inc.
4 4
diff --git a/test/lisp/erc/erc-track-tests.el b/test/lisp/erc/erc-track-tests.el
index b0ed4bbcb67..7e924c22347 100644
--- a/test/lisp/erc/erc-track-tests.el
+++ b/test/lisp/erc/erc-track-tests.el
@@ -1,4 +1,4 @@
1;;; erc-track-tests.el --- Tests for erc-track. 1;;; erc-track-tests.el --- Tests for erc-track. -*- lexical-binding:t -*-
2 2
3;; Copyright (C) 2016-2020 Free Software Foundation, Inc. 3;; Copyright (C) 2016-2020 Free Software Foundation, Inc.
4 4
diff --git a/test/lisp/gnus/gnus-tests.el b/test/lisp/gnus/gnus-tests.el
index d18b3fbed0f..fb1b204f042 100644
--- a/test/lisp/gnus/gnus-tests.el
+++ b/test/lisp/gnus/gnus-tests.el
@@ -1,4 +1,4 @@
1;;; gnus-tests.el --- Wrapper for the Gnus tests 1;;; gnus-tests.el --- Wrapper for the Gnus tests -*- lexical-binding:t -*-
2 2
3;; Copyright (C) 2011-2020 Free Software Foundation, Inc. 3;; Copyright (C) 2011-2020 Free Software Foundation, Inc.
4 4
diff --git a/test/lisp/imenu-tests.el b/test/lisp/imenu-tests.el
index 684a856fe04..5dbeb882e01 100644
--- a/test/lisp/imenu-tests.el
+++ b/test/lisp/imenu-tests.el
@@ -1,4 +1,4 @@
1;;; imenu-tests.el --- Test suite for imenu. 1;;; imenu-tests.el --- Test suite for imenu. -*- lexical-binding:t -*-
2 2
3;; Copyright (C) 2013-2020 Free Software Foundation, Inc. 3;; Copyright (C) 2013-2020 Free Software Foundation, Inc.
4 4
diff --git a/test/lisp/info-xref-tests.el b/test/lisp/info-xref-tests.el
index 128b3f25ca5..940aa7d8ad1 100644
--- a/test/lisp/info-xref-tests.el
+++ b/test/lisp/info-xref-tests.el
@@ -1,4 +1,4 @@
1;;; info-xref.el --- tests for info-xref.el 1;;; info-xref.el --- tests for info-xref.el -*- lexical-binding:t -*-
2 2
3;; Copyright (C) 2013-2020 Free Software Foundation, Inc. 3;; Copyright (C) 2013-2020 Free Software Foundation, Inc.
4 4
diff --git a/test/lisp/jit-lock-tests.el b/test/lisp/jit-lock-tests.el
index 445716c14b9..dfa74cf35e7 100644
--- a/test/lisp/jit-lock-tests.el
+++ b/test/lisp/jit-lock-tests.el
@@ -1,4 +1,4 @@
1;;; jit-lock-tests.el --- tests for jit-lock 1;;; jit-lock-tests.el --- tests for jit-lock -*- lexical-binding:t -*-
2 2
3;; Copyright (C) 2016-2020 Free Software Foundation, Inc. 3;; Copyright (C) 2016-2020 Free Software Foundation, Inc.
4 4
diff --git a/test/lisp/json-tests.el b/test/lisp/json-tests.el
index 05837e83f90..ac9706a8ae7 100644
--- a/test/lisp/json-tests.el
+++ b/test/lisp/json-tests.el
@@ -1,4 +1,4 @@
1;;; json-tests.el --- Test suite for json.el 1;;; json-tests.el --- Test suite for json.el -*- lexical-binding:t -*-
2 2
3;; Copyright (C) 2015-2020 Free Software Foundation, Inc. 3;; Copyright (C) 2015-2020 Free Software Foundation, Inc.
4 4
diff --git a/test/lisp/man-tests.el b/test/lisp/man-tests.el
index fba4d748ce1..8267d8e4f6a 100644
--- a/test/lisp/man-tests.el
+++ b/test/lisp/man-tests.el
@@ -1,4 +1,4 @@
1;;; man-tests.el --- Test suite for man. 1;;; man-tests.el --- Test suite for man. -*- lexical-binding:t -*-
2 2
3;; Copyright (C) 2013-2020 Free Software Foundation, Inc. 3;; Copyright (C) 2013-2020 Free Software Foundation, Inc.
4 4
@@ -114,7 +114,7 @@ in the cdr of the element.")
114 (dolist (test man-tests-parse-man-k-tests) 114 (dolist (test man-tests-parse-man-k-tests)
115 (should (man-tests-parse-man-k-test-case test)))) 115 (should (man-tests-parse-man-k-test-case test))))
116 116
117(defun man-tests-filter-strings (buffer strings) 117(defun man-tests-filter-strings (_buffer strings)
118 "Run `Man-bgproc-filter' on each of STRINGS. 118 "Run `Man-bgproc-filter' on each of STRINGS.
119The formatted result will be inserted into BUFFER." 119The formatted result will be inserted into BUFFER."
120 (let ((proc (start-process "dummy man-tests proc" (current-buffer) "cat"))) 120 (let ((proc (start-process "dummy man-tests proc" (current-buffer) "cat")))
diff --git a/test/lisp/replace-tests.el b/test/lisp/replace-tests.el
index af765fbe3fa..f5cff92d546 100644
--- a/test/lisp/replace-tests.el
+++ b/test/lisp/replace-tests.el
@@ -1,4 +1,4 @@
1;;; replace-tests.el --- tests for replace.el. 1;;; replace-tests.el --- tests for replace.el. -*- lexical-binding:t -*-
2 2
3;; Copyright (C) 2010-2020 Free Software Foundation, Inc. 3;; Copyright (C) 2010-2020 Free Software Foundation, Inc.
4 4
diff --git a/test/lisp/shadowfile-tests.el b/test/lisp/shadowfile-tests.el
index ed23e064743..03c62de1fd6 100644
--- a/test/lisp/shadowfile-tests.el
+++ b/test/lisp/shadowfile-tests.el
@@ -1,4 +1,4 @@
1;;; shadowfile-tests.el --- Tests of shadowfile 1;;; shadowfile-tests.el --- Tests of shadowfile -*- lexical-binding:t -*-
2 2
3;; Copyright (C) 2018-2020 Free Software Foundation, Inc. 3;; Copyright (C) 2018-2020 Free Software Foundation, Inc.
4 4
@@ -138,9 +138,9 @@ guaranteed by the originator of a cluster definition."
138 ;; We must mock `read-from-minibuffer' and `read-string', in 138 ;; We must mock `read-from-minibuffer' and `read-string', in
139 ;; order to avoid interactive arguments. 139 ;; order to avoid interactive arguments.
140 (cl-letf* (((symbol-function #'read-from-minibuffer) 140 (cl-letf* (((symbol-function #'read-from-minibuffer)
141 (lambda (&rest args) (pop mocked-input))) 141 (lambda (&rest _args) (pop mocked-input)))
142 ((symbol-function #'read-string) 142 ((symbol-function #'read-string)
143 (lambda (&rest args) (pop mocked-input)))) 143 (lambda (&rest _args) (pop mocked-input))))
144 144
145 ;; Cleanup & initialize. 145 ;; Cleanup & initialize.
146 (shadow--tests-cleanup) 146 (shadow--tests-cleanup)
@@ -255,9 +255,9 @@ guaranteed by the originator of a cluster definition."
255 ;; We must mock `read-from-minibuffer' and `read-string', in 255 ;; We must mock `read-from-minibuffer' and `read-string', in
256 ;; order to avoid interactive arguments. 256 ;; order to avoid interactive arguments.
257 (cl-letf* (((symbol-function #'read-from-minibuffer) 257 (cl-letf* (((symbol-function #'read-from-minibuffer)
258 (lambda (&rest args) (pop mocked-input))) 258 (lambda (&rest _args) (pop mocked-input)))
259 ((symbol-function #'read-string) 259 ((symbol-function #'read-string)
260 (lambda (&rest args) (pop mocked-input)))) 260 (lambda (&rest _args) (pop mocked-input))))
261 261
262 ;; Cleanup & initialize. 262 ;; Cleanup & initialize.
263 (shadow--tests-cleanup) 263 (shadow--tests-cleanup)
@@ -608,9 +608,9 @@ guaranteed by the originator of a cluster definition."
608 ;; We must mock `read-from-minibuffer' and `read-string', in 608 ;; We must mock `read-from-minibuffer' and `read-string', in
609 ;; order to avoid interactive arguments. 609 ;; order to avoid interactive arguments.
610 (cl-letf* (((symbol-function #'read-from-minibuffer) 610 (cl-letf* (((symbol-function #'read-from-minibuffer)
611 (lambda (&rest args) (pop mocked-input))) 611 (lambda (&rest _args) (pop mocked-input)))
612 ((symbol-function #'read-string) 612 ((symbol-function #'read-string)
613 (lambda (&rest args) (pop mocked-input)))) 613 (lambda (&rest _args) (pop mocked-input))))
614 614
615 ;; Cleanup & initialize. 615 ;; Cleanup & initialize.
616 (shadow--tests-cleanup) 616 (shadow--tests-cleanup)
@@ -669,9 +669,9 @@ guaranteed by the originator of a cluster definition."
669 ;; We must mock `read-from-minibuffer' and `read-string', in 669 ;; We must mock `read-from-minibuffer' and `read-string', in
670 ;; order to avoid interactive arguments. 670 ;; order to avoid interactive arguments.
671 (cl-letf* (((symbol-function #'read-from-minibuffer) 671 (cl-letf* (((symbol-function #'read-from-minibuffer)
672 (lambda (&rest args) (pop mocked-input))) 672 (lambda (&rest _args) (pop mocked-input)))
673 ((symbol-function #'read-string) 673 ((symbol-function #'read-string)
674 (lambda (&rest args) (pop mocked-input)))) 674 (lambda (&rest _args) (pop mocked-input))))
675 675
676 ;; Cleanup & initialize. 676 ;; Cleanup & initialize.
677 (shadow--tests-cleanup) 677 (shadow--tests-cleanup)
@@ -923,7 +923,7 @@ guaranteed by the originator of a cluster definition."
923 ;; action. 923 ;; action.
924 (add-function 924 (add-function
925 :before (symbol-function #'write-region) 925 :before (symbol-function #'write-region)
926 (lambda (&rest args) 926 (lambda (&rest _args)
927 (when (and (buffer-file-name) mocked-input) 927 (when (and (buffer-file-name) mocked-input)
928 (should (equal (buffer-file-name) (pop mocked-input))))) 928 (should (equal (buffer-file-name) (pop mocked-input)))))
929 '((name . "write-region-mock"))) 929 '((name . "write-region-mock")))
diff --git a/test/lisp/subr-tests.el b/test/lisp/subr-tests.el
index a583d57d2e8..e2761a96f86 100644
--- a/test/lisp/subr-tests.el
+++ b/test/lisp/subr-tests.el
@@ -1,4 +1,4 @@
1;;; subr-tests.el --- Tests for subr.el 1;;; subr-tests.el --- Tests for subr.el -*- lexical-binding:t -*-
2 2
3;; Copyright (C) 2015-2020 Free Software Foundation, Inc. 3;; Copyright (C) 2015-2020 Free Software Foundation, Inc.
4 4
diff --git a/test/lisp/thingatpt-tests.el b/test/lisp/thingatpt-tests.el
index 4edf75edba6..f02aeaeef6a 100644
--- a/test/lisp/thingatpt-tests.el
+++ b/test/lisp/thingatpt-tests.el
@@ -1,4 +1,4 @@
1;;; thingatpt.el --- tests for thing-at-point. 1;;; thingatpt.el --- tests for thing-at-point. -*- lexical-binding:t -*-
2 2
3;; Copyright (C) 2013-2020 Free Software Foundation, Inc. 3;; Copyright (C) 2013-2020 Free Software Foundation, Inc.
4 4
diff --git a/test/lisp/xml-tests.el b/test/lisp/xml-tests.el
index 895b68f79af..57e685cd347 100644
--- a/test/lisp/xml-tests.el
+++ b/test/lisp/xml-tests.el
@@ -1,4 +1,4 @@
1;;; xml-parse-tests.el --- Test suite for XML parsing. 1;;; xml-parse-tests.el --- Test suite for XML parsing. -*- lexical-binding:t -*-
2 2
3;; Copyright (C) 2012-2020 Free Software Foundation, Inc. 3;; Copyright (C) 2012-2020 Free Software Foundation, Inc.
4 4