summaryrefslogtreecommitdiffstats
path: root/t/06spelling.t
blob: 90e36e4899a294074008b013a526cf396cd69e1f (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
#!/usr/bin/perl

use strict;
use warnings;

use English qw(-no_match_vars);
use Test::More;

plan(skip_all => 'Author test, set $ENV{TEST_AUTHOR} to a true value to run')
    if !$ENV{TEST_AUTHOR};

eval {
    require Test::Pod;
    Test::Pod->import();
};
plan(skip_all => 'Test::Pod required') if $EVAL_ERROR;

eval {
    require Test::Pod::Spelling::CommonMistakes;
    Test::Pod::Spelling::CommonMistakes->import();
};
plan(skip_all => 'Test::Pod::Spelling::CommonMistakes required') if $EVAL_ERROR;

all_pod_files_ok(all_pod_files('urpm'));