[latex3-commits] [l3svn] 02/02: add example from manual as actual test
noreply at latex-project.org
noreply at latex-project.org
Thu Aug 27 09:38:47 CEST 2015
This is an automated email from the git hooks/post-receive script.
joseph pushed a commit to branch master
in repository l3svn.
commit 39f37cda44e60b90175d3e29ae8c2ebba373b0ed
Author: XZS <d.f.fischer at web.de>
Date: Wed Mar 11 15:15:48 2015 +0100
add example from manual as actual test
---
l3build/testfiles/01-expect.dtx | 15 +++++++++++++++
l3build/testfiles/01-expect.ins | 6 ++++++
2 files changed, 21 insertions(+)
diff --git a/l3build/testfiles/01-expect.dtx b/l3build/testfiles/01-expect.dtx
new file mode 100644
index 0000000..9b9fe8b
--- /dev/null
+++ b/l3build/testfiles/01-expect.dtx
@@ -0,0 +1,15 @@
+\input regression-test.tex\relax
+\START
+\TEST{counter-math}{
+%<*test>
+ \OMIT
+ \newcounter{numbers}
+ \setcounter{numbers}{2}
+ \addtocounter{numbers}{2}
+ \stepcounter{numbers}
+ \TIMO
+ \typeout{\arabic{numbers}}
+%</test>
+%<expect> \typeout{5}
+}
+\END
diff --git a/l3build/testfiles/01-expect.ins b/l3build/testfiles/01-expect.ins
new file mode 100644
index 0000000..fd58066
--- /dev/null
+++ b/l3build/testfiles/01-expect.ins
@@ -0,0 +1,6 @@
+\input docstrip.tex
+\generate{
+ \file{\jobname-1.lvt}{\from{\jobname.dtx}{test}}
+ \file{\jobname-1.lve}{\from{\jobname.dtx}{expect}}
+}
+\endbatchfile
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the latex3-commits
mailing list