[latex3-commits] [git/LaTeX3-latex3-latex2e] gh606: Add test with current behaviour (7b12e827)
PhelypeOleinik
phelype.oleinik at latex-project.org
Thu Sep 2 20:14:13 CEST 2021
Repository : https://github.com/latex3/latex2e
On branch : gh606
Link : https://github.com/latex3/latex2e/commit/7b12e8272248cd6cf210e3e407d9c4a4838014f0
>---------------------------------------------------------------
commit 7b12e8272248cd6cf210e3e407d9c4a4838014f0
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date: Thu Sep 2 15:14:13 2021 -0300
Add test with current behaviour
>---------------------------------------------------------------
7b12e8272248cd6cf210e3e407d9c4a4838014f0
base/testfiles-lthooks/github-0606.lvt | 23 ++++++++++++++++++++++
.../{ltcmdhooks-012.tlg => github-0606.tlg} | 7 +++++--
2 files changed, 28 insertions(+), 2 deletions(-)
diff --git a/base/testfiles-lthooks/github-0606.lvt b/base/testfiles-lthooks/github-0606.lvt
new file mode 100644
index 00000000..c760a22e
--- /dev/null
+++ b/base/testfiles-lthooks/github-0606.lvt
@@ -0,0 +1,23 @@
+
+\RequirePackage[enable-debug]{expl3}
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\ExplSyntaxOff
+
+\input{regression-test}
+
+\START
+
+\ExplSyntaxOn
+\__hook_initialize_all:
+\ExplSyntaxOff
+
+\NewHook{A}
+\AddToHook{A}{\typeout{1}}
+\UseOneTimeHook{A}
+\UseOneTimeHook{A}
+\AddToHook{A}{\typeout{2}}
+\UseOneTimeHook{A}
+\UseHook{A}
+
+\END
diff --git a/base/testfiles-lthooks/ltcmdhooks-012.tlg b/base/testfiles-lthooks/github-0606.tlg
similarity index 90%
copy from base/testfiles-lthooks/ltcmdhooks-012.tlg
copy to base/testfiles-lthooks/github-0606.tlg
index 1089b19e..73751d47 100644
--- a/base/testfiles-lthooks/ltcmdhooks-012.tlg
+++ b/base/testfiles-lthooks/github-0606.tlg
@@ -1,4 +1,7 @@
This is a generated file for the l3build validation system.
Don't change this file in any respect.
-X
-(1/2)
+1
+1
+2
+1
+1
More information about the latex3-commits
mailing list.