lib/locale.t: Fix broken test
authorKarl Williamson <public@khwilliamson.com>
Wed, 12 Mar 2014 18:54:45 +0000 (12:54 -0600)
committerKarl Williamson <public@khwilliamson.com>
Thu, 13 Mar 2014 22:38:44 +0000 (16:38 -0600)
commitd458c02c88acd3b20dabe5e2c98fa6a9668beee8
tree685d8dbda4a92f433f56f836997b12f9c88b4a4e
parent66e937f51e083cc757df2a7c292e70ae7ed574bc
lib/locale.t: Fix broken test

The test that [:digit:] is a subset of [:xdigit:] failed in locales
where  [:digit:] matches 2 blocks of 10 digits, but the second block
isn't considered part of [:xdigit:].  This happens in Thai on Windows.
The POSIX standard http://pubs.opengroup.org/onlinepubs/9699919799/
does not use very clear language, but I'm taking it as meaning it is ok
for this to happen, so this revises the test to accept it.
lib/locale.t