This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Unicode::Normalize no-go with miniperl.
[perl5.git] / t / uni / title.t
1 BEGIN {
2     chdir 't' if -d 't';
3     unless (defined &DynaLoader::boot_DynaLoader) {
4       print("1..0 # miniperl: no Unicode::Normalize");
5       exit(0);
6     }
7     require "uni/case.pl";
8 }
9
10 use feature 'unicode_strings';
11
12 casetest(0, # No extra tests run here,
13         "Titlecase_Mapping",
14         ucfirst                        => sub { ucfirst $_[0] },
15         ucfirst_with_appended_null_arg => sub { my $a = ""; ucfirst ($_[0] . $a) }
16        );