[latex3-commits] [git/LaTeX3-latex3-latex2e] gh606: Correct one test (dc5b4e88)
PhelypeOleinik
phelype.oleinik at latex-project.org
Fri Sep 3 07:48:10 CEST 2021
Repository : https://github.com/latex3/latex2e
On branch : gh606
Link : https://github.com/latex3/latex2e/commit/dc5b4e884506617ac167b9806dd6b824e6509f7c
>---------------------------------------------------------------
commit dc5b4e884506617ac167b9806dd6b824e6509f7c
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date: Fri Sep 3 02:48:10 2021 -0300
Correct one test
>---------------------------------------------------------------
dc5b4e884506617ac167b9806dd6b824e6509f7c
base/testfiles-lthooks/github-0648b.lvt | 3 +++
base/testfiles-lthooks/github-0648b.tlg | 8 ++++++++
2 files changed, 11 insertions(+)
diff --git a/base/testfiles-lthooks/github-0648b.lvt b/base/testfiles-lthooks/github-0648b.lvt
index de056b08..44ed9c9b 100644
--- a/base/testfiles-lthooks/github-0648b.lvt
+++ b/base/testfiles-lthooks/github-0648b.lvt
@@ -39,6 +39,9 @@
\RequirePackage{after}
\typeout{-------------------------------}
+% The lines below raise warnings because using the hook
+% with \UseOneTimeHook clears its code pool, so the label
+% no longer exists:
\RemoveFromHook{package/after/after}[x]
\RemoveFromHook{package/after/before}[x]
\RemoveFromHook{package/before/after}[x]
diff --git a/base/testfiles-lthooks/github-0648b.tlg b/base/testfiles-lthooks/github-0648b.tlg
index db30b7d2..9d9ac967 100644
--- a/base/testfiles-lthooks/github-0648b.tlg
+++ b/base/testfiles-lthooks/github-0648b.tlg
@@ -13,3 +13,11 @@ next before after.sty
after after.sty
next after after.sty
-------------------------------
+LaTeX hooks Warning: Cannot remove chunk 'x' from hook 'package/after/after'
+(hooks) because it does not exist in that hook.
+LaTeX hooks Warning: Cannot remove chunk 'x' from hook 'package/after/before'
+(hooks) because it does not exist in that hook.
+LaTeX hooks Warning: Cannot remove chunk 'x' from hook 'package/before/after'
+(hooks) because it does not exist in that hook.
+LaTeX hooks Warning: Cannot remove chunk 'x' from hook 'package/before/before'
+(hooks) because it does not exist in that hook.
More information about the latex3-commits
mailing list.