[latex3-commits] [git/LaTeX3-latex3-latex2e] gh992: Test file showing the wrong behaviour (314be49e)

PhelypeOleinik phelype.oleinik at latex-project.org
Sat Apr 15 04:46:21 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : gh992
Link       : https://github.com/latex3/latex2e/commit/314be49ed49c552a179243960e102fb6317bf17e

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

commit 314be49ed49c552a179243960e102fb6317bf17e
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Fri Apr 14 23:46:21 2023 -0300

    Test file showing the wrong behaviour


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

314be49ed49c552a179243960e102fb6317bf17e
 base/testfiles/github-0992.lvt                     | 34 ++++++++++++++++++++++
 .../{github-0060.luatex.tlg => github-0992.tlg}    |  1 +
 2 files changed, 35 insertions(+)

diff --git a/base/testfiles/github-0992.lvt b/base/testfiles/github-0992.lvt
new file mode 100644
index 00000000..348dbb93
--- /dev/null
+++ b/base/testfiles/github-0992.lvt
@@ -0,0 +1,34 @@
+
+\begin{filecontents}[overwrite]{foo.sty}
+\NeedsTeXFormat{LaTeX2e}[2018-04-01]
+\DeclareRelease{}{2017-01-01}{foo-2017-01-01.sty}
+\DeclareCurrentRelease{}{2023-01-01}
+
+\ProvidesPackage{foo}[2023/01/01 v2 foo package]
+\newcommand\foo{\typeout{2023/01/01 v2 foo package}}
+\endinput
+\end{filecontents}
+
+% --------------------
+
+\begin{filecontents}[overwrite]{foo-2017-01-01.sty}
+\ProvidesPackage{foo}[2017/01/01 v1 foo package]
+
+\newcommand\foo{\typeout{2017/01/01 v1 foo package}}
+\endinput
+\end{filecontents}
+
+% --------------------
+
+% \RequirePackage[2020/09/30]{latexrelease} %gives 2017/01/01 v1 foo package
+\RequirePackage[2020/10/01]{latexrelease} %gives 2023/01/01 v2 foo package (???)
+
+\input{test2e}
+
+\RequirePackage{foo}
+
+\START
+
+\foo
+
+\END
diff --git a/base/testfiles/github-0060.luatex.tlg b/base/testfiles/github-0992.tlg
similarity index 79%
copy from base/testfiles/github-0060.luatex.tlg
copy to base/testfiles/github-0992.tlg
index 1d0c6975..9d17cfeb 100644
--- a/base/testfiles/github-0060.luatex.tlg
+++ b/base/testfiles/github-0992.tlg
@@ -1,2 +1,3 @@
 This is a generated file for the LaTeX2e validation system.
 Don't change this file in any respect.
+2023/01/01 v2 foo package





More information about the latex3-commits mailing list.