[latex3-commits] [git/LaTeX3-latex3-latex3] master: Also test loading xparse (package) (1c782daa8)
PhelypeOleinik
tex.phelype at gmail.com
Fri May 22 04:31:47 CEST 2020
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/1c782daa8076dec5a256c3949a1abafb5cfb9020
>---------------------------------------------------------------
commit 1c782daa8076dec5a256c3949a1abafb5cfb9020
Author: PhelypeOleinik <tex.phelype at gmail.com>
Date: Thu May 21 23:31:47 2020 -0300
Also test loading xparse (package)
>---------------------------------------------------------------
1c782daa8076dec5a256c3949a1abafb5cfb9020
l3packages/xparse/testfiles/xparse006.lvt | 17 ++++++++++++++---
l3packages/xparse/testfiles/xparse006.tlg | 4 ++++
2 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/l3packages/xparse/testfiles/xparse006.lvt b/l3packages/xparse/testfiles/xparse006.lvt
index 39d2a774f..08770dfbe 100644
--- a/l3packages/xparse/testfiles/xparse006.lvt
+++ b/l3packages/xparse/testfiles/xparse006.lvt
@@ -9,12 +9,11 @@
\ExplSyntaxOn
\debug_on:n { check-declarations , deprecation , log-functions }
\ExplSyntaxOff
-% \RequirePackage{xparse}
-\input xparse-generic.tex
-\begin{document}
+\input xparse-generic.tex
\START
+
\AUTHOR{Phelype Oleinik}
\ExplSyntaxOn
@@ -27,4 +26,16 @@
\NewDocumentCommand { \testA } { u } { }
}
+\OMIT
+\RequirePackage{xparse}
+\TIMO
+
+\TEST { Deprecated~argument~types~with~xparse~loaded }
+ {
+ \DeclareDocumentCommand { \testA } { G{} } { }
+ \DeclareDocumentCommand { \testA } { g } { }
+ \DeclareDocumentCommand { \testA } { l } { }
+ \DeclareDocumentCommand { \testA } { u{x} } { }
+ }
+
\END
diff --git a/l3packages/xparse/testfiles/xparse006.tlg b/l3packages/xparse/testfiles/xparse006.tlg
index d26aa09ff..ce6a16eb8 100644
--- a/l3packages/xparse/testfiles/xparse006.tlg
+++ b/l3packages/xparse/testfiles/xparse006.tlg
@@ -41,3 +41,7 @@ The letter 'u' specifies a known argument type that requires the xparse
package.
LaTeX will ignore this entire definition.
============================================================
+============================================================
+TEST 2: Deprecated argument types with xparse loaded
+============================================================
+============================================================
More information about the latex3-commits
mailing list.