Show
Ignore:
Timestamp:
04/06/08 16:25:39 (5 years ago)
Author:
tomyhero
Message:

lang/perl/App-Starter : fix bug

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/App-Starter/trunk/t/spelling.t

    r8993 r8994  
    22use Test::Spelling; 
    33$ENV{LANG} = 'C'; 
     4 
     5my $spell_cmd; 
     6foreach my $path (split(/:/, $ENV{PATH})) { 
     7    -x "$path/spell"  and $spell_cmd="spell", last; 
     8    -x "$path/ispell" and $spell_cmd="ispell -l", last; 
     9    -x "$path/aspell" and $spell_cmd="aspell list", last; 
     10} 
     11$ENV{SPELL_CMD} and $spell_cmd = $ENV{SPELL_CMD}; 
     12$spell_cmd or plan skip_all => "no spell/ispell/aspell"; 
     13set_spell_cmd($spell_cmd); 
     14 
    415add_stopwords(<DATA>); 
    516all_pod_files_spelling_ok();