Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Check spelling of POD and other documents

```perl
use Test2::V0;
use Test::SpellCheck;

spell_check 'lib/**/*.pm';

Expand Down
4 changes: 4 additions & 0 deletions dist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,7 @@ id = develop-only
begin = develop-only-begin
end = develop-only-end
remove = 1

[PruneFiles]
filename = xt/author/pod_spelling_common.t
filename = xt/author/pod_spelling_system.t
1 change: 1 addition & 0 deletions lib/Test/SpellCheck.pm
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ our @EXPORT = qw ( spell_check spell_check_ini );
=head1 SYNOPSIS

use Test2::V0;
use Test::SpellCheck;

spell_check 'lib/**/*.pm';

Expand Down
3 changes: 3 additions & 0 deletions spellcheck.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
word = yy
word = wb
word = spellcheck.ini
word = cpu
word = splitter
[Dictionary]
dictionary = spellcheck.dic

7 changes: 7 additions & 0 deletions xt/author/spellcheck.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
use Test2::V0;
use Test2::Require::Module 'Test::SpellCheck';
use Test::SpellCheck;

spell_check_ini;

done_testing;
Loading