summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/perl/t/uni/title.t
blob: 45c895f70978a19c46090f7504d63899ff1296dd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
BEGIN {
    chdir 't' if -d 't';
    unless (defined &DynaLoader::boot_DynaLoader) {
      print("1..0 # miniperl: no Unicode::Normalize");
      exit(0);
    }
    require "./uni/case.pl";
}

use feature 'unicode_strings';

casetest(0, # No extra tests run here,
	"Titlecase_Mapping",
        ucfirst                        => sub { ucfirst $_[0] },
	ucfirst_with_appended_null_arg => sub { my $a = ""; ucfirst ($_[0] . $a) }
       );