[latex3-commits] [git/LaTeX3-latex3-latex2e] gh479: Update latexrelease-grabbing test code (210857e9)

PhelypeOleinik phelype.oleinik at latex-project.org
Mon Mar 22 02:24:04 CET 2021


Repository : https://github.com/latex3/latex2e
On branch  : gh479
Link       : https://github.com/latex3/latex2e/commit/210857e9f598cc5fd94f23df33c6f11605e1dc5e

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

commit 210857e9f598cc5fd94f23df33c6f11605e1dc5e
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Sun Mar 21 22:24:04 2021 -0300

    Update latexrelease-grabbing test code


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

210857e9f598cc5fd94f23df33c6f11605e1dc5e
 base/testfiles/github-0479b.lvt | 10 +++++-----
 base/testfiles/github-0479c.lvt | 10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/base/testfiles/github-0479b.lvt b/base/testfiles/github-0479b.lvt
index 4c6b43b4..71c16798 100644
--- a/base/testfiles/github-0479b.lvt
+++ b/base/testfiles/github-0479b.lvt
@@ -54,14 +54,14 @@
   \catcode`\^^@=12
   \everyeof{\stopstop\expandafter\x\noexpand}%
   \long\def\x#1\edef\latexreleaseversion#2#3%
-          \let\currentLaTeXdate\requestedLaTeXdate\ExplSyntaxOn{%
+          \let\currentLaTeXdate\requestedLaTeXdate#4\xdef{%
     \edef\x{\unexpanded{\edef\x{\endgroup %  V--------V change date
       \unexpanded{#1\def\latexreleaseversion{2021-11-01}#3%
-          \let\currentLaTeXdate\requestedLaTeXdate}%
-      \unexpanded\expandafter{\y}}}}\ExplSyntaxOn
-    \long\def\y##1\ExplSyntaxOff##2\stopstop{\edef\y{\unexpanded{##1}}}\y}%
+          \let\currentLaTeXdate\requestedLaTeXdate}}}}%
+      \long\def\y##1\stopstop{\endgroup}%
+      #4\afterassignment\y\xdef}%
   \expandafter\expandafter\expandafter\x\@@input latexrelease.sty \relax
-\x
+\x\latexrelease at postexpl
 % \end{steal code from latexrelease.sty}
 
 % Extracted latexrelease.sty blocks:
diff --git a/base/testfiles/github-0479c.lvt b/base/testfiles/github-0479c.lvt
index 43482b79..3aea280e 100644
--- a/base/testfiles/github-0479c.lvt
+++ b/base/testfiles/github-0479c.lvt
@@ -48,14 +48,14 @@
   \catcode`\^^@=12
   \everyeof{\stopstop\expandafter\x\noexpand}%
   \long\def\x#1\edef\latexreleaseversion#2#3%
-          \let\currentLaTeXdate\requestedLaTeXdate\ExplSyntaxOn{%
+          \let\currentLaTeXdate\requestedLaTeXdate#4\xdef{%
     \edef\x{\unexpanded{\edef\x{\endgroup %  V--------V change date
       \unexpanded{#1\def\latexreleaseversion{2021-11-01}#3%
-          \let\currentLaTeXdate\requestedLaTeXdate}%
-      \unexpanded\expandafter{\y}}}}\ExplSyntaxOn
-    \long\def\y##1\ExplSyntaxOff##2\stopstop{\edef\y{\unexpanded{##1}}}\y}%
+          \let\currentLaTeXdate\requestedLaTeXdate}}}}%
+      \long\def\y##1\stopstop{\endgroup}%
+      #4\afterassignment\y\xdef}%
   \expandafter\expandafter\expandafter\x\@@input latexrelease.sty \relax
-\x
+\x\latexrelease at postexpl
 % \end{steal code from latexrelease.sty}
 
 % Extracted latexrelease.sty blocks:





More information about the latex3-commits mailing list.