Update Parse::CPAN::Meta to 0.04_01
[p5sagit/p5-mst-13.2.git] / lib / Parse / CPAN / Meta / t / 15_multibyte.t
index c5e0d67..a67c0f9 100644 (file)
@@ -20,7 +20,7 @@ BEGIN {
 
 use File::Spec::Functions ':ALL';
 use Parse::CPAN::Meta::Test;
-use Test::More tests(0, 1, 3);
+use Test::More tests(0, 1, 4);
 
 
 
@@ -46,3 +46,11 @@ SKIP: {
                'XSLoader'   => 0,
        }, 'build_requires ok' );
 }
+
+SKIP: {
+       skip "no utf8 support", 1 unless Parse::CPAN::Meta::HAVE_UTF8();
+       ok( utf8::is_utf8($yaml[0]->{author}), "utf8 decoded" );
+}
+
+exit(0);
+