Skip to content

Commit

Permalink
Added release tests for file encoding.
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumeaubert committed Jun 30, 2013
1 parent fe59b06 commit 13ff8af
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ xt/changes.t
xt/kwalitee.t
xt/manifest.t
xt/module_versions.t
xt/mojibake.t
xt/perlcritic.t
xt/pod-coverage.t
xt/pod.t
Expand Down
24 changes: 24 additions & 0 deletions xt/mojibake.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!perl

=head1 PURPOSE
Check Perl files for encoding issues.
=cut

use strict;
use warnings;

use Test::More;


# Load module.
eval
{
require Test::Mojibake;
};
plan( skip_all => 'Test::Mojibake required for source encoding testing' )
if $@;

# Test encoding for all files.
Test::Mojibake::all_files_encoding_ok();

0 comments on commit 13ff8af

Please sign in to comment.