[latex3-commits] [git/LaTeX3-latex3-latex2e] hotfix/gh441: Use push/pop pair here too (70a0596b)
PhelypeOleinik
phelype.oleinik at latex-project.org
Thu Dec 17 02:07:45 CET 2020
Repository : https://github.com/latex3/latex2e
On branch : hotfix/gh441
Link : https://github.com/latex3/latex2e/commit/70a0596b975425f1ebc267fd7bda7cd334daf040
>---------------------------------------------------------------
commit 70a0596b975425f1ebc267fd7bda7cd334daf040
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date: Wed Dec 16 22:07:45 2020 -0300
Use push/pop pair here too
>---------------------------------------------------------------
70a0596b975425f1ebc267fd7bda7cd334daf040
base/testfiles-lthooks/lthooks-024.lvt | 10 +++++++---
base/testfiles-lthooks/lthooks-024.tlg | 8 ++++----
2 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/base/testfiles-lthooks/lthooks-024.lvt b/base/testfiles-lthooks/lthooks-024.lvt
index f0f11db0..9fc73f16 100644
--- a/base/testfiles-lthooks/lthooks-024.lvt
+++ b/base/testfiles-lthooks/lthooks-024.lvt
@@ -86,9 +86,13 @@
\cs_undefine:c { ver@\jobname-pkgC.sty }
\ExplSyntaxOff
+% errors
\SetDefaultHookLabel{my-document}
-\testme{my-document}
-\usepackage{\jobname-pkgA}
-\testme{my-document}
+
+\PushDefaultHookLabel{my-document}
+ \testme{my-document}
+ \usepackage{\jobname-pkgA}
+ \testme{my-document}
+\PopDefaultHookLabel
\END
diff --git a/base/testfiles-lthooks/lthooks-024.tlg b/base/testfiles-lthooks/lthooks-024.tlg
index db335288..dc8578ce 100644
--- a/base/testfiles-lthooks/lthooks-024.tlg
+++ b/base/testfiles-lthooks/lthooks-024.tlg
@@ -177,7 +177,7 @@ Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
-> The hook 'foo':
> Code chunks:
-> top-level/foo -> my-document/foo
+> my-document/foo -> my-document/foo
> Document-level (top-level) code (executed last):
> ---
> Extra code for next invocation:
@@ -185,7 +185,7 @@ If that doesn't work, type X <return> to quit.
> Rules:
> ---
> Execution order:
-> top-level/foo.
+> my-document/foo.
(lthooks-024-pkgA.sty
-> The hook 'foo':
> Code chunks:
@@ -249,7 +249,7 @@ If that doesn't work, type X <return> to quit.
)
-> The hook 'foo':
> Code chunks:
-> top-level/foo -> my-document/foo
+> my-document/foo -> my-document/foo
> Document-level (top-level) code (executed last):
> ---
> Extra code for next invocation:
@@ -257,4 +257,4 @@ If that doesn't work, type X <return> to quit.
> Rules:
> ---
> Execution order:
-> top-level/foo.
+> my-document/foo.
More information about the latex3-commits
mailing list.