X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Faccessors_wo.t;h=e80111850fc5c8a882936af62f16ecac2d9d2117;hb=76427bb1ddcfc2374ae9eb615855adf19069a55b;hp=9fc2bcd05a919d4ec5b26a9f5530cf10a7c2024b;hpb=ed6069878c2506fed25cf5dd71c4fa6e276b80da;p=p5sagit%2FClass-Accessor-Grouped.git diff --git a/t/accessors_wo.t b/t/accessors_wo.t index 9fc2bcd..e801118 100644 --- a/t/accessors_wo.t +++ b/t/accessors_wo.t @@ -3,7 +3,6 @@ use Test::Exception; use strict; use warnings; no warnings 'once'; -use Config; use lib 't/lib'; # we test the pure-perl versions only, but allow overrides @@ -82,15 +81,12 @@ for my $name (sort keys %$test_accessors) { ; # die on get via name/alias - { - local $TODO = "Class::XSAccessor emits broken error messages on 5.10 or -DDEBUGGING 5.8" - if ( - $test_accessors->{$name}{is_xs} - and - $] < '5.011' - and - ( $] > '5.009' or $Config{config_args} =~ /DEBUGGING/ ) - ); + SKIP: { + skip "Class::XSAccessor emits broken error messages on 5.10 and earlier", 1 if ( + $test_accessors->{$name}{is_xs} + and + $] < '5.011' + ); throws_ok { $obj->$name;