diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 11:26:17 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 11:26:17 +0000 |
commit | 5df6c2aefebe3d2abcc939a88e294876d59f03ca (patch) | |
tree | 63fb332a0f21ddb91cb789c80cf64e134d373463 /t/fmt-tex.t | |
parent | Initial commit. (diff) | |
download | po4a-5df6c2aefebe3d2abcc939a88e294876d59f03ca.tar.xz po4a-5df6c2aefebe3d2abcc939a88e294876d59f03ca.zip |
Adding upstream version 0.72.upstream/0.72
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 't/fmt-tex.t')
-rw-r--r-- | t/fmt-tex.t | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/t/fmt-tex.t b/t/fmt-tex.t new file mode 100644 index 0000000..a380cf5 --- /dev/null +++ b/t/fmt-tex.t @@ -0,0 +1,37 @@ +# TeX module tester. + +######################### + +use strict; +use warnings; + +use lib q(t); +use Testhelper; + +my @tests; + +foreach my $t (qw(basic theorem)) { + push @tests, + { + 'format' => 'latex', + 'input' => "fmt/tex/$t.tex" + }; +} + +push @tests, + { + 'doc' => 'invalid input command, without ignore', + 'format' => 'latex', + 'input' => "fmt/tex/input-in-verbatim.tex", + 'error' => 1, + 'norm_stderr' => 'fmt/tex/input-in-verbatim.stderr-without-ignore', + }, + { + 'doc' => 'invalid input command, with exclude_include', + 'format' => 'latex', + 'input' => "fmt/tex/input-in-verbatim.tex", + 'options' => '-o exclude_include=main.tex' + }; + +run_all_tests(@tests); +0; |