File: 90-rt59710.t

package info (click to toggle)
libpar-packer-perl 1.064-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,388 kB
  • sloc: perl: 12,774; ansic: 1,474; makefile: 30; sh: 5
file content (18 lines) | stat: -rw-r--r-- 419 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/perl

use strict;
use warnings;

use Test::More;
require "./t/utils.pl";

# Unicode::UCD appeared first in perl 5.8.0
plan skip_all => "Unicode::UCD not installed"
    unless eval "require Unicode::UCD; 1";
plan tests => 3;

my $exe = pp_ok(-e => 'use Unicode::UCD qw(charinfo); my $i = charinfo(0x42); print $i->{name};');

my ($out) = run_ok($exe);
is( $out, "LATIN CAPITAL LETTER B", "name of U+0042" );