]> git.imager.perl.org - imager.git/commitdiff
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 586a937a7848cba786cd0e4916b491da1f0fe07f..402223c4a8ab2f15c331937d1a70995ff29a25d1 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:
   { # 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;
       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";
     Imager->log("utf8 magic tests\n");
     my $over = bless {}, "Imager::Test::OverUtf8";
     my $text = "A".chr(0x2010)."A";