summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-11-26 15:47:43 -0800
committerFather Chrysostomos <sprout@cpan.org>2011-11-26 15:47:43 -0800
commitf913f73db4284df2487074c2d60090f6d1ef25a9 (patch)
tree402a9603ebf0b2bbdf4d6fa16c8b49929bec1d01
parentc5a4d8c5c81f9a548d9531503a1150f4ede689e0 (diff)
downloadperl-sprout/tokemess.tar.gz
fix test failuresprout/tokemess
-rw-r--r--t/uni/labels.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/uni/labels.t b/t/uni/labels.t
index 8cb1ac4bde..e3ff938174 100644
--- a/t/uni/labels.t
+++ b/t/uni/labels.t
@@ -11,7 +11,7 @@ BEGIN {
use utf8;
use open qw( :utf8 :std );
use warnings;
-use feature 'unicode_strings';
+use feature qw 'unicode_strings evalbytes';
use charnames qw( :full );
@@ -36,7 +36,7 @@ SKIP: {
LOOP: {
Encode::_utf8_off($prog);
- eval $prog;
+ evalbytes $prog;
like $@, qr/^Unrecognized character/, "..but turn off the UTF-8 flag and it explodes";
}
}