[latex3-commits] [git/LaTeX3-latex3-latex2e] gh617: tests for #617 (467c62ed)
David Carlisle
d.p.carlisle at gmail.com
Mon Jul 19 12:32:38 CEST 2021
Repository : https://github.com/latex3/latex2e
On branch : gh617
Link : https://github.com/latex3/latex2e/commit/467c62ed78a6ea4e46e750e60c81ec5bfce900fd
>---------------------------------------------------------------
commit 467c62ed78a6ea4e46e750e60c81ec5bfce900fd
Author: David Carlisle <d.p.carlisle at gmail.com>
Date: Mon Jul 19 11:32:38 2021 +0100
tests for #617
>---------------------------------------------------------------
467c62ed78a6ea4e46e750e60c81ec5bfce900fd
base/testfiles/github-0617.lvt | 20 ++++++++++++++++++++
base/testfiles/github-0617.tlg | 9 +++++++++
2 files changed, 29 insertions(+)
diff --git a/base/testfiles/github-0617.lvt b/base/testfiles/github-0617.lvt
new file mode 100644
index 00000000..92734062
--- /dev/null
+++ b/base/testfiles/github-0617.lvt
@@ -0,0 +1,20 @@
+\begin{filecontents}[overwrite]{gh617.sty}
+\ProvidesPackage{gh617}
+\typeout{^^JSTANDARD^^J \unexpanded\expandafter\expandafter\expandafter{\csname opt@\@currname.\@currext\endcsname}}
+\typeout{^^JRAW^^J \unexpanded\expandafter\expandafter\expandafter{\csname @raw at opt@\@currname.\@currext\endcsname}}
+% zero out the standard list as no options declared here
+\expandafter\let\csname opt@\@currname.\@currext\endcsname\@empty
+\end{filecontents}
+
+
+\input{test2e}
+
+\START
+% the raw list should not be expanded (isse #617)
+
+\def\emptyTWO{\empty}
+\def\twelve{12pt}
+\RequirePackage[one=\emptyTWO,two=\unexpanded{\emptyTWO}, a5 paper,\twelve]{gh617}\relax
+
+
+\END
\ No newline at end of file
diff --git a/base/testfiles/github-0617.tlg b/base/testfiles/github-0617.tlg
new file mode 100644
index 00000000..3d3cde35
--- /dev/null
+++ b/base/testfiles/github-0617.tlg
@@ -0,0 +1,9 @@
+This is a generated file for the LaTeX2e validation system.
+Don't change this file in any respect.
+(gh617.sty
+Package: gh617
+STANDARD
+ one=,two=\emptyTWO ,a5paper,12pt
+RAW
+ one=\emptyTWO ,two=\unexpanded {\emptyTWO }, a5 paper,\twelve
+)
More information about the latex3-commits
mailing list.