[latex3-commits] [git/LaTeX3-latex3-latex2e] hotfix/gh422: Update test files (1a5acc9c)
PhelypeOleinik
phelype.oleinik at latex-project.org
Fri Nov 20 03:49:45 CET 2020
Repository : https://github.com/latex3/latex2e
On branch : hotfix/gh422
Link : https://github.com/latex3/latex2e/commit/1a5acc9ccaaef91d37ef3e7ceba6a918abf9cb37
>---------------------------------------------------------------
commit 1a5acc9ccaaef91d37ef3e7ceba6a918abf9cb37
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date: Thu Nov 19 23:49:45 2020 -0300
Update test files
>---------------------------------------------------------------
1a5acc9ccaaef91d37ef3e7ceba6a918abf9cb37
base/testfiles/github-0386.tlg | 3 +++
base/testfiles/github-0422.lvt | 8 ++++----
base/testfiles/github-0422.tlg | 14 ++++++++++++++
3 files changed, 21 insertions(+), 4 deletions(-)
diff --git a/base/testfiles/github-0386.tlg b/base/testfiles/github-0386.tlg
index 123fa22b..823618fb 100644
--- a/base/testfiles/github-0386.tlg
+++ b/base/testfiles/github-0386.tlg
@@ -13,6 +13,9 @@ Redirected option
===================
@ifpackagewith{pkg} (replaced file doesn't see any option):
-------------------
+Option in \PassOptionsToPackage
+Option in \usepackage
+Redirected option
===============
ProcessOptions:
---------------
diff --git a/base/testfiles/github-0422.lvt b/base/testfiles/github-0422.lvt
index bfb647e7..ddd3cb78 100644
--- a/base/testfiles/github-0422.lvt
+++ b/base/testfiles/github-0422.lvt
@@ -55,7 +55,7 @@
\makeatletter
\declare at file@substitution{test-broken.sty}{test-fixed.sty}
-\declare at file@substitution{in-broken.sty}{in-fixed.sty}
+\declare at file@substitution{in-broken.sty}{testpath/in-fixed.sty}
\declare at file@substitution{inputpath-broken.sty}{inputpath-fixed.sty}
\makeatother
@@ -83,10 +83,10 @@
\typeout{==================================================}
-\usepackage[opt]{testpath/in-fixed}
-% \usepackage{testpath/in-broken} % Doesn't find the file due to substitution
+\usepackage[opt]{testpath/in-broken}
+\usepackage{testpath/in-broken} % Don't load
\usepackage{testpath/in-fixed} % Don't load
-% \usepackage[opttwo]{testpath/in-broken}\relax % Doesn't find the file due to substitution
+\usepackage[opttwo]{testpath/in-broken}\relax % Option clash
\usepackage[opttwo]{testpath/in-fixed}\relax % Option clash
\typeout{==================================================}
diff --git a/base/testfiles/github-0422.tlg b/base/testfiles/github-0422.tlg
index be5339c9..e9746366 100644
--- a/base/testfiles/github-0422.tlg
+++ b/base/testfiles/github-0422.tlg
@@ -73,6 +73,20 @@ Package: in-fixed
(in-fixed) with 'opt'
(inpath): I should be loaded instead.
)
+! LaTeX Error: Option clash for package in-broken.
+See the LaTeX manual or LaTeX Companion for explanation.
+Type H <return> for immediate help.
+ ...
+l. ...\usepackage[opttwo]{testpath/in-broken}\relax
+ % Option clash
+The package in-broken has already been loaded with options:
+ [opt]
+There has now been an attempt to load it with options
+ [opttwo]
+Adding the global options:
+ opt,opttwo
+to your \documentclass declaration may fix this.
+Try typing <return> to proceed.
! LaTeX Error: Option clash for package in-fixed.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
More information about the latex3-commits
mailing list.