aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLars Ingebrigtsen2022-04-22 16:17:22 +0200
committerLars Ingebrigtsen2022-04-22 16:17:22 +0200
commitbbf389ea6deab229ba18dc519fe712ec982609d1 (patch)
tree73f1f24195357163f93f5a9cb5fc9475eec0da57 /test
parent16dfec3c4ccafb2ec7b9a428fb2730ca8f0202fd (diff)
downloademacs-bbf389ea6deab229ba18dc519fe712ec982609d1.tar.gz
emacs-bbf389ea6deab229ba18dc519fe712ec982609d1.zip
Audit quoting the quote character in doc strings
* test/src/regex-emacs-tests.el (regex-tests-compare): (regex-tests-compare): (regex-tests-match): * test/lisp/xml-tests.el (xml-parse-tests--qnames): * test/lisp/mh-e/mh-thread-tests.el (mh-thread-tests-before-from): * test/lisp/cedet/srecode-utest-template.el (srecode-utest-map-reset): * test/lisp/calc/calc-tests.el (calc-tests-equal): * lisp/window.el (get-lru-window): (get-mru-window): (get-largest-window): (quit-restore-window): (display-buffer): * lisp/vc/vc-rcs.el (vc-rcs-consult-headers): * lisp/url/url-auth.el (url-digest-auth-build-response): * lisp/tutorial.el (tutorial--find-changed-keys): * lisp/transient.el (transient-suffix-object): * lisp/textmodes/rst.el (rst-insert-list-new-item): * lisp/textmodes/bibtex.el (bibtex-clean-entry): * lisp/tab-bar.el (tab-bar--key-to-number): (toggle-frame-tab-bar): * lisp/ses.el (ses-recalculate-cell): (ses-define-local-printer): (ses-prin1): * lisp/progmodes/xref.el (xref--find-ignores-arguments): * lisp/progmodes/verilog-mode.el (verilog-single-declaration-end): * lisp/progmodes/tcl.el (tcl-mode-hook): * lisp/progmodes/gdb-mi.el (gdb-get-buffer-create): * lisp/progmodes/elisp-mode.el (elisp--xref-make-xref): * lisp/play/dunnet.el (dun-room-objects): * lisp/outline.el (outline--cycle-state): * lisp/org/ox-publish.el (org-publish-find-property): * lisp/org/ox-html.el (org-html--unlabel-latex-environment): * lisp/org/org-table.el (org-table-collapse-header): * lisp/org/org-plot.el (org--plot/prime-factors): * lisp/org/org-agenda.el (org-agenda--mark-blocked-entry): (org-agenda-set-restriction-lock): * lisp/org/ob-lua.el (org-babel-lua-read-string): * lisp/org/ob-julia.el (org-babel-julia-evaluate-external-process): (org-babel-julia-evaluate-session): * lisp/org/ob-core.el (org-babel-default-header-args): * lisp/obsolete/mouse-sel.el (mouse-select): (mouse-select-secondary): * lisp/net/tramp.el (tramp-methods): * lisp/net/eww.el (eww-accept-content-types): * lisp/net/dictionary-connection.el (dictionary-connection-status): * lisp/minibuffer.el (completion-flex--make-flex-pattern): * lisp/mh-e/mh-mime.el (mh-have-file-command): * lisp/mh-e/mh-limit.el (mh-subject-to-sequence): (mh-subject-to-sequence-threaded): (mh-subject-to-sequence-unthreaded): * lisp/mail/feedmail.el (feedmail-queue-buffer-file-name): (feedmail-vm-mail-mode): * lisp/ls-lisp.el (ls-lisp--sanitize-switches): * lisp/keymap.el (key-valid-p): * lisp/international/ccl.el (ccl-compile-branch-blocks): * lisp/image/image-converter.el (image-convert): * lisp/gnus/spam.el (spam-backend-check): * lisp/gnus/nnselect.el (nnselect-generate-artlist): * lisp/gnus/nnmairix.el (nnmairix-widget-other): * lisp/gnus/message.el (message-mailto): * lisp/gnus/gnus-sum.el (gnus-collect-urls-from-article): * lisp/gnus/gnus-search.el (gnus-search-prepare-query): * lisp/frame.el (frame-size-history): * lisp/eshell/esh-var.el (eshell-parse-variable-ref): * lisp/eshell/em-dirs.el (eshell-expand-multiple-dots): * lisp/erc/erc-backend.el (erc-bounds-of-word-at-point): * lisp/emulation/cua-rect.el (cua--rectangle-operation): * lisp/emacs-lisp/text-property-search.el (text-property-search-forward): * lisp/emacs-lisp/package.el (package-desc-suffix): * lisp/emacs-lisp/faceup.el (faceup-test-explain): * lisp/emacs-lisp/comp.el (comp-curr-allocation-class): (comp-alloc-class-to-container): (comp-add-cstrs): (comp-remove-type-hints-func): (batch-byte+native-compile): * lisp/emacs-lisp/cl-macs.el (cl--optimize): * lisp/elec-pair.el (electric-pair--syntax-ppss): * lisp/doc-view.el (doc-view-doc-type): * lisp/cedet/semantic/symref.el (semantic-symref-tool-alist): (semantic-symref-hit-to-tag-via-db): (semantic-symref-hit-to-tag-via-buffer): * lisp/cedet/semantic/lex-spp.el (semantic-lex-spp-get-overlay): * lisp/cedet/semantic/java.el (semantic-java-doc-keywords-map): * lisp/cedet/semantic/find.el (semantic-brute-find-tag-by-function): * lisp/cedet/semantic/db.el (semanticdb-project-predicate-functions): * lisp/cedet/semantic.el (semantic-working-type): * lisp/cedet/ede/files.el (ede-flush-directory-hash): * lisp/calc/calc.el (calc--header-line): * lisp/auth-source.el (auth-source-pick-first-password): (auth-source--decode-octal-string): * etc/themes/modus-themes.el (modus-themes--paren): (modus-themes--agenda-habit): * admin/cus-test.el (cus-test-vars-with-changed-state): Fix quoting in doc strings. In code examples, the ' character is quoted with \\=, and regularize 'foo to `foo', and quote strings like "foo" instead of 'foo'.
Diffstat (limited to 'test')
-rw-r--r--test/lisp/calc/calc-tests.el2
-rw-r--r--test/lisp/cedet/srecode-utest-template.el2
-rw-r--r--test/lisp/mh-e/mh-thread-tests.el2
-rw-r--r--test/lisp/xml-tests.el2
-rw-r--r--test/src/regex-emacs-tests.el12
5 files changed, 10 insertions, 10 deletions
diff --git a/test/lisp/calc/calc-tests.el b/test/lisp/calc/calc-tests.el
index 892fd278df8..56cb9057ed9 100644
--- a/test/lisp/calc/calc-tests.el
+++ b/test/lisp/calc/calc-tests.el
@@ -38,7 +38,7 @@
38;; be used to compare such calc expressions. 38;; be used to compare such calc expressions.
39(defun calc-tests-equal (a b) 39(defun calc-tests-equal (a b)
40 "Like `equal' but allow for different representations of numbers. 40 "Like `equal' but allow for different representations of numbers.
41For example: (calc-tests-equal 10 '(float 1 1)) => t. 41For example: (calc-tests-equal 10 \\='(float 1 1)) => t.
42A and B should be calc expressions." 42A and B should be calc expressions."
43 (cond ((math-numberp a) 43 (cond ((math-numberp a)
44 (and (math-numberp b) 44 (and (math-numberp b)
diff --git a/test/lisp/cedet/srecode-utest-template.el b/test/lisp/cedet/srecode-utest-template.el
index 1eb91e6053b..87c28c6af12 100644
--- a/test/lisp/cedet/srecode-utest-template.el
+++ b/test/lisp/cedet/srecode-utest-template.el
@@ -33,7 +33,7 @@
33;;; MAP DUMP TESTING 33;;; MAP DUMP TESTING
34(defun srecode-utest-map-reset () 34(defun srecode-utest-map-reset ()
35 "Reset, then dump the map of SRecoder templates. 35 "Reset, then dump the map of SRecoder templates.
36Probably should be called 'describe-srecode-maps'." 36Probably should be called `describe-srecode-maps'."
37 (interactive) 37 (interactive)
38 (message "SRecode Template Path: %S" srecode-map-load-path) 38 (message "SRecode Template Path: %S" srecode-map-load-path)
39 ;; Interactive call allows us to dump. 39 ;; Interactive call allows us to dump.
diff --git a/test/lisp/mh-e/mh-thread-tests.el b/test/lisp/mh-e/mh-thread-tests.el
index 84f59e5d300..ea8d441e2d1 100644
--- a/test/lisp/mh-e/mh-thread-tests.el
+++ b/test/lisp/mh-e/mh-thread-tests.el
@@ -24,7 +24,7 @@
24(eval-when-compile (require 'cl-lib)) 24(eval-when-compile (require 'cl-lib))
25 25
26(defun mh-thread-tests-before-from () 26(defun mh-thread-tests-before-from ()
27 "Generate the fields of a scan line up to where the 'From' field would start. 27 "Generate the fields of a scan line up to where the \"From\" field would start.
28The exact contents are not important, but the number of characters is." 28The exact contents are not important, but the number of characters is."
29 (concat (make-string mh-cmd-note ?9) 29 (concat (make-string mh-cmd-note ?9)
30 (make-string mh-scan-cmd-note-width ?A) 30 (make-string mh-scan-cmd-note-width ?A)
diff --git a/test/lisp/xml-tests.el b/test/lisp/xml-tests.el
index eecf6406fb8..748f1e39446 100644
--- a/test/lisp/xml-tests.el
+++ b/test/lisp/xml-tests.el
@@ -97,7 +97,7 @@
97 ((("FOOBAR:" . "something") nil "hi there")) 97 ((("FOOBAR:" . "something") nil "hi there"))
98 ((FOOBAR:something nil "hi there")))) 98 ((FOOBAR:something nil "hi there"))))
99 "List of strings which are parsed using namespace expansion. 99 "List of strings which are parsed using namespace expansion.
100Parser is called with and without 'symbol-qnames argument.") 100Parser is called with and without `symbol-qnames' argument.")
101 101
102(ert-deftest xml-parse-tests () 102(ert-deftest xml-parse-tests ()
103 "Test XML parsing." 103 "Test XML parsing."
diff --git a/test/src/regex-emacs-tests.el b/test/src/regex-emacs-tests.el
index e6288d1fc9b..ff0d6be3f5d 100644
--- a/test/src/regex-emacs-tests.el
+++ b/test/src/regex-emacs-tests.el
@@ -157,8 +157,8 @@ are known failures, and are skipped."
157 157
158(defun regex-tests-compare (string what-failed bounds-ref &optional substring-ref) 158(defun regex-tests-compare (string what-failed bounds-ref &optional substring-ref)
159 "I just ran a search, looking at STRING. WHAT-FAILED describes 159 "I just ran a search, looking at STRING. WHAT-FAILED describes
160what failed, if anything; valid values are 'search-failed, 160what failed, if anything; valid values are `search-failed',
161'compilation-failed and nil. I compare the beginning/end of each 161`compilation-failed' and nil. I compare the beginning/end of each
162group with their expected values. This is done with either 162group with their expected values. This is done with either
163BOUNDS-REF or SUBSTRING-REF; one of those should be non-nil. 163BOUNDS-REF or SUBSTRING-REF; one of those should be non-nil.
164BOUNDS-REF is a sequence [start-ref0 end-ref0 start-ref1 164BOUNDS-REF is a sequence [start-ref0 end-ref0 start-ref1
@@ -166,9 +166,9 @@ end-ref1 ....] while SUBSTRING-REF is the expected substring
166obtained by indexing the input string by start/end-ref. 166obtained by indexing the input string by start/end-ref.
167 167
168If the search was supposed to fail then start-ref0/substring-ref0 168If the search was supposed to fail then start-ref0/substring-ref0
169is 'search-failed. If the search wasn't even supposed to compile 169is `search-failed'. If the search wasn't even supposed to compile
170successfully, then start-ref0/substring-ref0 is 170successfully, then start-ref0/substring-ref0 is
171'compilation-failed. If I only care about a match succeeding, 171`compilation-failed'. If I only care about a match succeeding,
172this can be set to t. 172this can be set to t.
173 173
174This function returns a string that describes the failure, or nil 174This function returns a string that describes the failure, or nil
@@ -259,8 +259,8 @@ BOUNDS-REF is a sequence [start-ref0 end-ref0 start-ref1 end-ref1
259....]. 259....].
260 260
261If the search was supposed to fail then start-ref0 is 261If the search was supposed to fail then start-ref0 is
262'search-failed. If the search wasn't even supposed to compile 262`search-failed'. If the search wasn't even supposed to compile
263successfully, then start-ref0 is 'compilation-failed. 263successfully, then start-ref0 is `compilation-failed'.
264 264
265This function returns a string that describes the failure, or nil 265This function returns a string that describes the failure, or nil
266on success" 266on success"