[latex3-commits] [latex3/l3build] main: Clarify `\TEST` and `\TESTEXP` docs (e31b220)

github at latex-project.org github at latex-project.org
Fri May 19 14:37:17 CEST 2023


Repository : https://github.com/latex3/l3build
On branch  : main
Link       : https://github.com/latex3/l3build/commit/e31b220c342d624f2c80e19eeb62db3dd798c19d

>---------------------------------------------------------------

commit e31b220c342d624f2c80e19eeb62db3dd798c19d
Author: Yukai Chou <muzimuzhi at gmail.com>
Date:   Fri May 19 20:29:24 2023 +0800

    Clarify `\TEST` and `\TESTEXP` docs


>---------------------------------------------------------------

e31b220c342d624f2c80e19eeb62db3dd798c19d
 l3build.dtx | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/l3build.dtx b/l3build.dtx
index 9ab8a7a..1741124 100644
--- a/l3build.dtx
+++ b/l3build.dtx
@@ -951,9 +951,13 @@
 % \item
 % \cs{ERROR} is \emph{not} defined but is commonly used to indicate a code path that should never be reached.
 % \item
-% The \cs{TEST}\marg{title}\marg{contents} command surrounds its \meta{contents} with some \cs{SEPARATOR}s and a \meta{title}.
+% The \cs{TEST}\marg{title}\marg{contents} command runs its \meta{contents}
+% in a group and surrounds the generated log lines with some \cs{SEPARATOR}s
+% and a \meta{title}.
 % \item
-% \cs{TESTEXP} surrounds its contents with \cs{TYPE} and formatting to match \cs{TEST}; this can be used as a shorthand to test expandable commands.
+% \cs{TESTEXP}\marg{title}\marg{contents} surrounds its \meta{contents} with
+% \cs{TYPE} and formatting to match \cs{TEST}; this can be used as a shorthand
+% to test expandable commands.
 % \item
 % \cs{BEGINTEST}\marg{title} \dots \cs{ENDTEST} is an environment form of
 % \cs{TEST}, allowing verbatim material, \emph{etc.} to appear.





More information about the latex3-commits mailing list.