PATCH: Large omnibus patch to clean up the JRRT quotes
[p5sagit/p5-mst-13.2.git] / ext / Encode / t / jis7-fallback.t
CommitLineData
2fd0906e 1use strict;
2use Test::More 'no_plan';
3use Encode ':fallbacks';
4
5my $str = "\x{0647}";
6my @data = grep length, map { chomp; $_ } <DATA>;
7
8while (my($in, $out) = splice(@data, 0, 2)) {
9 my $copy = $str;
10 is Encode::encode("iso-2022-jp", $copy, eval $in), $out;
11}
12
13__DATA__
14FB_PERLQQ
15\x{0647}
16
17FB_HTMLCREF
18&#1607;
19
20FB_XMLCREF
21&#x647;