1#!/usr/bin/perl 2# 3# Test Pod::Man ISO-8859-1 handling 4# 5# Copyright 2016 Russ Allbery <rra@cpan.org> 6# 7# This program is free software; you may redistribute it and/or modify it 8# under the same terms as Perl itself. 9 10use 5.006; 11use strict; 12use warnings; 13 14use lib 't/lib'; 15 16use Test::More tests => 3; 17use Test::Podlators qw(test_snippet); 18 19# Load the module. 20BEGIN { 21 use_ok('Pod::Man'); 22} 23 24# Test the snippet with the proper encoding. 25test_snippet('Pod::Man', 'man/iso-8859-1', { encoding => 'iso-8859-1' }); 26