Actually note that Shell.pm is deprecated for 5.13 and 5.14, so we can
[p5sagit/p5-mst-13.2.git] / cpan / encoding-warnings / t / 3-normal.t
CommitLineData
de1df517 1use Test;
2BEGIN { plan tests => 2 }
3
4use strict;
5use encoding::warnings 'FATAL';
6ok(encoding::warnings->VERSION);
7
8if ($] < 5.008) {
9 ok(1);
10 exit;
11}
12
13my ($a, $b, $c, $ok);
14$ok = 1;
15
16$SIG{__DIE__} = sub { $ok = 0 };
17$SIG{__WARN__} = sub { $ok = 0 };
18
19$a = chr(20000);
20$b = chr(20000);
21$c = $a . $b;
22
23ok($ok);