skip testing UTF-8 overloaded test on pre-5.8
authorTony Cook <tony@develop-help.com>
Wed, 3 Apr 2013 12:27:57 +0000 (23:27 +1100)
committerTony Cook <tony@develop-help.com>
Wed, 3 Apr 2013 12:30:36 +0000 (23:30 +1100)
since it was fixed in 5.8

lib/Imager/Test.pm

index 586a937..402223c 100644 (file)
@@ -753,8 +753,10 @@ sub std_font_tests {
  SKIP:
   { # check magic is handled correctly
     # https://rt.cpan.org/Ticket/Display.html?id=83438
-    skip("no native UTF8 support in this version of perl", 10
+    skip("no native UTF8 support in this version of perl", 11
       unless $] >= 5.006;
+    skip("overloading handling of magic is broken in this version of perl", 11)
+      unless $] >= 5.008;
     Imager->log("utf8 magic tests\n");
     my $over = bless {}, "Imager::Test::OverUtf8";
     my $text = "A".chr(0x2010)."A";