diff options
Diffstat (limited to '')
-rw-r--r-- | t/fmt-rubydoc.t | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/t/fmt-rubydoc.t b/t/fmt-rubydoc.t new file mode 100644 index 0000000..160b5c6 --- /dev/null +++ b/t/fmt-rubydoc.t @@ -0,0 +1,32 @@ +#! /usr/bin/perl +# RubyDoc module tester. + +######################### + +use strict; +use warnings; + +use lib q(t); +use Testhelper; + +my @tests; + +foreach my $t (qw(Headlines Lists)) { + push @tests, + { + 'format' => 'Rd', + 'input' => "fmt/rubydoc/$t.rd" + }; +} + +foreach my $pure (qw(Verbatim)) { + push @tests, + { + 'format' => 'Rd', + 'options' => '-o puredoc', + 'input' => "fmt/rubydoc/$pure.rd" + }; +} + +run_all_tests(@tests); +0; |