File: mojibake.t

package info (click to toggle)
libdata-validate-type-perl 1.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 256 kB
  • sloc: perl: 1,534; makefile: 2
file content (24 lines) | stat: -rw-r--r-- 319 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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();