From 5df6c2aefebe3d2abcc939a88e294876d59f03ca Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 17 Jun 2024 13:26:17 +0200 Subject: Adding upstream version 0.72. Signed-off-by: Daniel Baumann --- t/fmt-txt-fortunes.t | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 t/fmt-txt-fortunes.t (limited to 't/fmt-txt-fortunes.t') diff --git a/t/fmt-txt-fortunes.t b/t/fmt-txt-fortunes.t new file mode 100644 index 0000000..c669420 --- /dev/null +++ b/t/fmt-txt-fortunes.t @@ -0,0 +1,24 @@ +#! /usr/bin/perl +# Text module tester for fortunes files. + +######################### + +use strict; +use warnings; + +use lib q(t); +use Testhelper; + +my @tests; + +foreach my $t (qw(SingleFortune SeveralFortunes MultipleLines)) { + push @tests, + { + 'format' => 'text', + 'options' => '-o fortunes', + 'input' => "fmt/txt-fortunes/$t.txt" + }; +} + +run_all_tests(@tests); +0; -- cgit v1.2.3