File: spelling.t

package info (click to toggle)
libtest-block-perl 0.13-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 160 kB
  • sloc: perl: 133; makefile: 2
file content (30 lines) | stat: -rw-r--r-- 475 bytes parent folder | download | duplicates (4)
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
#!/usr/bin/perl

use strict;
use warnings;
use Test::More;

my $aspell_path = eval q{
    use Test::Spelling; 
    use File::Which;
    which('aspell') || die 'no aspell'
};
plan skip_all => 'Optional Test::Spelling, File::Which and aspell program required to spellcheck POD' if $@;
set_spell_cmd("$aspell_path list");
add_stopwords( <DATA> );
all_pod_files_spelling_ok();

__DATA__
Daly
Fergal
Khemir
Nadim
CPAN
LICENCE
RSS
perlmonks
qa
xUnit
AnnoCPAN
Bowden
ACKNOWLEDGMENTS