1#!/usr/bin/perl
2#
3# Test Pod::Text ISO-8859-1 handling
4#
5# Copyright 2016, 2019 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#
10# SPDX-License-Identifier: GPL-1.0-or-later OR Artistic-1.0-Perl
11
12use 5.008;
13use strict;
14use warnings;
15
16use lib 't/lib';
17
18use Test::More tests => 3;
19use Test::Podlators qw(test_snippet);
20
21# Load the module.
22BEGIN {
23    use_ok('Pod::Text');
24}
25
26# Test the snippet with the proper encoding.
27test_snippet('Pod::Text', 'text/iso-8859-1', { encoding => 'iso-8859-1' });
28