Make unicode label tests use unicode_eval.
authorBrian Fraser <fraserbn@gmail.com>
Sat, 21 Apr 2012 01:09:56 +0000 (22:09 -0300)
committerKarl Williamson <public@khwilliamson.com>
Thu, 26 Apr 2012 17:58:56 +0000 (11:58 -0600)
commitdd53ca2f01b45dd5a54bd2d00709dbfbe00ccdf3
treee2fd5354744dbcf5e553df4cd7dbbc71159baaea
parent906024c7fead4086ed911b8052d784aa07c2f1e2
Make unicode label tests use unicode_eval.

A recent change exposed a faulty test, in t/uni/labels.t;
Previously, a downgraded label passed to eval under 'use utf8;'
would've been erroneously considered UTF-8 and the tests
would pass. Now it's correctly reported as illegal UTF-8
unless unicode_eval is in effect.
t/uni/labels.t