summaryrefslogtreecommitdiffstats
path: root/t/fmt-rubydoc.t
blob: 160b5c61de56e11b4b9a1145b76a9be797b4ccb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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;