Skip to content

Commit

Permalink
Document full syntaxes of \SHOWFILE and \ASSERT(STR)
Browse files Browse the repository at this point in the history
  • Loading branch information
muzimuzhi authored and josephwright committed Dec 7, 2023
1 parent bbe66f5 commit 809e98e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ this project uses date-based 'snapshot' version identifiers.
### Changed
- Document default value of `ctanpkg` as a valid lua expression
- Improve log for failed checks with no diff files
- Document full syntaxes of `\SHOWFILE` and `\ASSERT(STR)`

### Fixed
- Short-circuit `check --rerun` if `testdir` doesn't exist
Expand Down
11 changes: 6 additions & 5 deletions l3build.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -977,12 +977,13 @@
% \cs{BEGINTEST}\marg{title} \dots \cs{ENDTEST} is an environment form of
% \cs{TEST}, allowing verbatim material, \emph{etc.} to appear.
% \item
% \cs{SHOWFILE} (\eTeX{} only) Shows the content of the file given as an
% argument.
% \cs{SHOWFILE}\marg{filename} (\eTeX{} only) Shows the content of
% \meta{filename}.
% \item
% \cs{ASSERT} and \cs{ASSERTSTR} Asserts if the full expansion
% of the two required arguments are the same: the \cs{ASSERT} function is
% token-based, the \cs{ASSERTSTR} works on a string basis.
% \cs{ASSERT}\marg{arg_1}\marg{arg_2} and \cs{ASSERTSTR}\marg{arg_1}\marg{arg_2}
% Asserts if the full expansion of \meta{arg_1} and \meta{arg_2} are the same:
% the \cs{ASSERT} function is token-based,
% the \cs{ASSERTSTR} works on a string basis.
% \end{itemize}
% An example of some of these commands is shown following.
% \begin{Verbatim}
Expand Down

0 comments on commit 809e98e

Please sign in to comment.