[latex3-commits] [git/LaTeX3-latex3-latex2e] apdf161: Add test for 9dcc3e9 (9518c175)
PhelypeOleinik
phelype.oleinik at latex-project.org
Mon Sep 7 20:24:38 CEST 2020
Repository : https://github.com/latex3/latex2e
On branch : apdf161
Link : https://github.com/latex3/latex2e/commit/9518c1759925bd1f46a5e49a8ee685cf6e2991a5
>---------------------------------------------------------------
commit 9518c1759925bd1f46a5e49a8ee685cf6e2991a5
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date: Mon Sep 7 15:24:38 2020 -0300
Add test for 9dcc3e9
>---------------------------------------------------------------
9518c1759925bd1f46a5e49a8ee685cf6e2991a5
base/testfiles-lthooks/lthooks-027.lvt | 17 +++++++++++++++++
base/testfiles-lthooks/lthooks-027.tlg | 8 ++++++++
2 files changed, 25 insertions(+)
diff --git a/base/testfiles-lthooks/lthooks-027.lvt b/base/testfiles-lthooks/lthooks-027.lvt
new file mode 100644
index 00000000..f89e12ce
--- /dev/null
+++ b/base/testfiles-lthooks/lthooks-027.lvt
@@ -0,0 +1,17 @@
+\documentclass{article}
+\usepackage{expl3}
+\input{regression-test}
+\begin{document}
+\START
+
+\ExplSyntaxOn
+\TEST { Using~stuff~once~(expect~'aaa~bbb'): }
+ {
+ \hook_new:n { A }
+ \hook_gput_code:nnn { A } { . } { \message{aaa} }
+ \hook_use_once:n { A }
+ \hook_gput_code:nnn { A } { . } { \message{bbb} }
+ }
+\ExplSyntaxOff
+
+\end{document}
diff --git a/base/testfiles-lthooks/lthooks-027.tlg b/base/testfiles-lthooks/lthooks-027.tlg
new file mode 100644
index 00000000..21792ddb
--- /dev/null
+++ b/base/testfiles-lthooks/lthooks-027.tlg
@@ -0,0 +1,8 @@
+This is a generated file for the l3build validation system.
+Don't change this file in any respect.
+============================================================
+TEST 1: Using stuff once (expect 'aaa bbb'):
+============================================================
+aaa bbb
+============================================================
+(lthooks-027.aux)
More information about the latex3-commits
mailing list.