-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added release tests for file encoding.
- Loading branch information
1 parent
fe59b06
commit 13ff8af
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); |