package Code::TidyAll::t::Plugin::PodTidy; BEGIN { $Code::TidyAll::t::Plugin::PodTidy::VERSION = '0.16'; } use Test::Class::Most parent => 'Code::TidyAll::t::Plugin'; sub test_main : Tests { my $self = shift; my $source = '=head1 DESCRIPTION There are a lot of great code tidiers and validators out there. C makes them available from a single unified interface. You can run C on a single file or on an entire project hierarchy, and configure which tidiers/validators are applied to which files. C will back up files beforehand, and for efficiency will only consider files that have changed since they were last processed. '; $self->tidyall( source => $source, expect_tidy => '=head1 DESCRIPTION There are a lot of great code tidiers and validators out there. C makes them available from a single unified interface. You can run C on a single file or on an entire project hierarchy, and configure which tidiers/validators are applied to which files. C will back up files beforehand, and for efficiency will only consider files that have changed since they were last processed. ', desc => 'tidy - defaults', ); $self->tidyall( source => '=head1 DESCRIPTION There are a lot of great code tidiers and validators out there. C makes them available from a single unified interface. You can run C on a single file or on an entire project hierarchy, and configure which tidiers/validators are applied to which files. C will back up files beforehand, and for efficiency will only consider files that have changed since they were last processed. ', expect_ok => 1, desc => 'ok - defaults', ); $self->tidyall( source => $source, conf => { columns => 30 }, expect_tidy => '=head1 DESCRIPTION There are a lot of great code tidiers and validators out there. C makes them available from a single unified interface. You can run C on a single file or on an entire project hierarchy, and configure which tidiers/validators are applied to which files. C will back up files beforehand, and for efficiency will only consider files that have changed since they were last processed. ', desc => 'tidy - columns = 30', ); } 1; __END__ =pod =head1 VERSION version 0.16 =head1 SEE ALSO L =head1 AUTHOR Jonathan Swartz =head1 COPYRIGHT AND LICENSE This software is copyright (c) 2011 by Jonathan Swartz. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. =cut