1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 14:30:50 -08:00
emacs/test/lisp/emacs-lisp
Basil L. Contovounesios 02c830ba22 Fix ert-font-lock macro signatures
* doc/misc/ert.texi (Syntax Highlighting Tests):
* test/lisp/emacs-lisp/ert-font-lock-tests.el
(test-line-comment-p--emacs-lisp, test-line-comment-p--shell-script)
(test-line-comment-p--javascript, test-line-comment-p--python)
(test-line-comment-p--c, test-macro-test--correct-highlighting)
(test-macro-test--docstring, test-macro-test--failing)
(test-macro-test--file, test-macro-test--file-no-asserts)
(test-macro-test--file-failing): Reindent macro calls.
(with-temp-buffer-str-mode): Evaluate macro arguments left-to-right.
(ert-font-lock--wrap-begin-end): Use rx for more robust composition.
(test-line-comment-p--php): Require that php-mode is callable, not
already loaded.

* lisp/emacs-lisp/ert-font-lock.el (ert-font-lock-deftest)
(ert-font-lock-deftest-file): NAME is not followed by an empty list
like in ert-deftest, so the optional DOCSTRING is actually the
second argument.  Adapt calling convention in docstring, and debug,
doc-string, and indent properties accordingly (bug#76372).  Fix
docstring grammar, document MAJOR-MODE, and avoid referring to a
file name as a path.
2025-02-25 11:02:55 +01:00
..
bytecomp-resources Single string literal in body is return value only, not doc string 2024-03-07 13:47:53 +01:00
edebug-resources Update copyright year to 2025 2025-01-02 18:39:42 +01:00
eieio-tests Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ert-font-lock-resources Improve ert-font-lock assertion parser (Bug#69714) 2024-03-28 11:40:27 +02:00
faceup-resources Update copyright year to 2025 2025-01-02 18:39:42 +01:00
faceup-tests Update copyright year to 2025 2025-01-02 18:39:42 +01:00
macroexp-resources Update copyright year to 2025 2025-01-02 18:39:42 +01:00
package-resources Update copyright year to 2025 2025-01-02 18:39:42 +01:00
pp-resources Fix pp-emacs-lisp-code printing of cons cells 2022-05-17 19:45:20 +02:00
shadow-resources Use lexical-binding in most remaining emacs-lisp tests 2020-04-30 12:09:51 +02:00
testcover-resources Update copyright year to 2025 2025-01-02 18:39:42 +01:00
backquote-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
backtrace-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
benchmark-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
bindat-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
byte-run-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
bytecomp-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cconv-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
check-declare-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
checkdoc-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cl-extra-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cl-generic-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cl-lib-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cl-macs-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cl-preloaded-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cl-print-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cl-seq-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
comp-cstr-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
comp-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
copyright-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
derived-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
easy-mmode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
edebug-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ert-font-lock-tests.el Fix ert-font-lock macro signatures 2025-02-25 11:02:55 +01:00
ert-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ert-x-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
find-func-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
float-sup-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
generator-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
gv-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
hierarchy-tests.el ; hierarchy-tests.el: keep doc string within 80 columns 2024-01-31 17:55:53 +01:00
icons-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
let-alist-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
lisp-mnt-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
lisp-mode-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
lisp-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
macroexp-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
map-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
memory-report-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
multisession-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
nadvice-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
oclosure-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
package-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
pcase-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
pp-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
range-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
regexp-opt-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ring-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
rmc-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
rx-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
seq-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
shadow-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
shortdoc-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
subr-x-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
syntax-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
tabulated-list-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
testcover-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
text-property-search-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
thunk-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
timer-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
track-changes-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
unsafep-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
vtable-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
warnings-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00