This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
lib/locale.t: Add a bunch of tests.
authorKarl Williamson <public@khwilliamson.com>
Sat, 27 Jul 2013 19:48:33 +0000 (13:48 -0600)
committerKarl Williamson <public@khwilliamson.com>
Mon, 12 Aug 2013 19:51:23 +0000 (13:51 -0600)
commit32e8aa3fdb11b64c2a141bf56441761d978fd17b
treeae82fc1aa942059daf6b4a35ef09cc224ced1358
parent7c844d17a30a8d23199a8935888f7ae806fba2ea
lib/locale.t: Add a bunch of tests.

These test that various relationships that POSIX specifies are met in
each locale, including that a class and its complement are mutually
exclusive, that some classes are subsets of another (like [:upper:]
being a subset of [:alpha:]), and that some things can't be in two
conflicting classes (such as [:print:] and [:cntrl:]).

The tests are marked as TODO, like similar existing tests, if only a
small percentage of locales fail them.  This indicates that those
locales are defective, while Perl and most other locales are ok.
lib/locale.t