[latex3-commits] [latex3/latex2e] develop: Add a test for gh1413 (b3bb178b)

github at latex-project.org github at latex-project.org
Fri Aug 30 11:00:32 CEST 2024


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/b3bb178bc8a291a353c8cfa32970c28036972fa7

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

commit b3bb178bc8a291a353c8cfa32970c28036972fa7
Author: Yukai Chou <muzimuzhi at gmail.com>
Date:   Tue Aug 13 12:45:41 2024 +0800

    Add a test for gh1413


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

b3bb178bc8a291a353c8cfa32970c28036972fa7
 base/testfiles/github-1413.lvt | 35 +++++++++++++++++++++++++++++++++++
 base/testfiles/github-1413.tlg |  7 +++++++
 2 files changed, 42 insertions(+)

diff --git a/base/testfiles/github-1413.lvt b/base/testfiles/github-1413.lvt
new file mode 100644
index 00000000..1d272ac9
--- /dev/null
+++ b/base/testfiles/github-1413.lvt
@@ -0,0 +1,35 @@
+\edef\pkgname{\jobname-testpkg}
+
+\begin{filecontents}{\pkgname.sty}
+\DeclareRelease{}{2023-10-10}{\pkgname-2023-10-10.sty}
+\DeclareCurrentRelease{}{2024-01-01}
+
+\ProvidesPackage{\pkgname}[2024-01-01 v2.0 test package]
+\end{filecontents}
+
+\begin{filecontents}{\pkgname-2023-10-10.sty}
+\ProvidesPackage{\pkgname}[2023-10-10 v2.0 test package]
+\end{filecontents}
+
+\RequirePackage[2023-11-01]{latexrelease}
+
+\documentclass{article}
+\listfiles
+
+\input{test2e}
+
+\ExplSyntaxOn
+\sys_ensure_backend:
+\ExplSyntaxOff
+\makeatletter
+% clear file list
+\global\let\@filelist\@gobble
+\makeatother
+
+\usepackage{\pkgname}
+
+\begin{document}
+
+\START
+
+\end{document}
diff --git a/base/testfiles/github-1413.tlg b/base/testfiles/github-1413.tlg
new file mode 100644
index 00000000..d8a4b537
--- /dev/null
+++ b/base/testfiles/github-1413.tlg
@@ -0,0 +1,7 @@
+This is a generated file for the LaTeX2e validation system.
+Don't change this file in any respect.
+(github-1413.aux)
+ *File List*
+github-1413-testpkg.sty    ....-..-.. v... test package
+github-1413-testpkg-....-..-...sty
+ ***********





More information about the latex3-commits mailing list.