Blame SOURCES/Package-Stash-0.34-old-Test::More.patch

bba39a
diff -up ./t/addsub.t.orig ./t/addsub.t
bba39a
--- ./t/addsub.t.orig	2013-01-04 09:39:44.000000000 +0000
bba39a
+++ ./t/addsub.t	2013-01-06 21:34:11.930954402 +0000
bba39a
@@ -2,7 +2,7 @@
bba39a
 use strict;
bba39a
 use warnings;
bba39a
 use lib 't/lib';
bba39a
-use Test::More;
bba39a
+use Test::More tests => 7;
bba39a
 use Test::Fatal;
bba39a
 
bba39a
 BEGIN { $^P |= 0x210 } # PERLDBf_SUBLINE
bba39a
@@ -42,5 +42,3 @@ $foo_stash->add_symbol(
bba39a
 
bba39a
 is $DB::sub{'Foo::dunk'}, sprintf "%s:%d-%d", "FileName", 100, 199,
bba39a
     '... got the right %DB::sub value for dunk with specified args';
bba39a
-
bba39a
-done_testing;
bba39a
diff -up ./t/anon-basic.t.orig ./t/anon-basic.t
bba39a
--- ./t/anon-basic.t.orig	2013-01-04 09:39:44.000000000 +0000
bba39a
+++ ./t/anon-basic.t	2013-01-06 21:34:11.947954406 +0000
bba39a
@@ -13,6 +13,8 @@ plan skip_all => "Anonymous stashes in P
bba39a
     if $] < 5.014
bba39a
     && $Package::Stash::IMPLEMENTATION eq 'PP';
bba39a
 
bba39a
+plan tests => 10;
bba39a
+
bba39a
 my $Foo = Package::Anon->new('Foo');
bba39a
 $Foo->{SOME_CONSTANT} = \1;
bba39a
 
bba39a
@@ -399,5 +401,3 @@ $Quuux->{quuuux} = -1;
bba39a
 
bba39a
 is_deeply([Package::Stash->new('Quuux')->list_all_symbols], [],
bba39a
           "Quuux:: isn't touched");
bba39a
-
bba39a
-done_testing;
bba39a
diff -up ./t/anon.t.orig ./t/anon.t
bba39a
--- ./t/anon.t.orig	2013-01-04 09:39:44.000000000 +0000
bba39a
+++ ./t/anon.t	2013-01-06 21:34:11.948954407 +0000
bba39a
@@ -14,6 +14,8 @@ plan skip_all => "Anonymous stashes in P
bba39a
     if $] < 5.014
bba39a
     && $Package::Stash::IMPLEMENTATION eq 'PP';
bba39a
 
bba39a
+plan tests => 7;
bba39a
+
bba39a
 my $anon = Package::Anon->new;
bba39a
 my $stash = Package::Stash->new($anon);
bba39a
 my $obj = $anon->bless({});
bba39a
@@ -45,5 +47,3 @@ my $obj = $anon->bless({});
bba39a
         qr/Undefined subroutine \&__ANON__::baz called/
bba39a
     );
bba39a
 }
bba39a
-
bba39a
-done_testing;
bba39a
diff -up ./t/bare-anon-basic.t.orig ./t/bare-anon-basic.t
bba39a
--- ./t/bare-anon-basic.t.orig	2013-01-04 09:39:44.000000000 +0000
bba39a
+++ ./t/bare-anon-basic.t	2013-01-06 21:34:11.948954407 +0000
bba39a
@@ -14,6 +14,8 @@ plan skip_all => "Anonymous stashes in P
bba39a
 
bba39a
 plan skip_all => "This isn't really going to work yet, probably";
bba39a
 
bba39a
+plan tests => 10;
bba39a
+
bba39a
 my $Foo = {};
bba39a
 $Foo->{SOME_CONSTANT} = \1;
bba39a
 
bba39a
@@ -393,5 +395,3 @@ $Quuux->{quuuux} = -1;
bba39a
 
bba39a
 is_deeply([Package::Stash->new('Quuux')->list_all_symbols], [],
bba39a
           "Quuux:: isn't touched");
bba39a
-
bba39a
-done_testing;
bba39a
diff -up ./t/bare-anon.t.orig ./t/bare-anon.t
bba39a
--- ./t/bare-anon.t.orig	2013-01-04 09:39:44.000000000 +0000
bba39a
+++ ./t/bare-anon.t	2013-01-06 21:34:11.948954407 +0000
bba39a
@@ -14,6 +14,8 @@ plan skip_all => "Anonymous stashes in P
bba39a
 
bba39a
 plan skip_all => "This isn't really going to work yet, probably";
bba39a
 
bba39a
+plan tests => 10;
bba39a
+
bba39a
 my $anon = {};
bba39a
 my $stash = Package::Stash->new($anon);
bba39a
 # no way to bless something into a hashref yet
bba39a
@@ -58,5 +60,3 @@ my $stash = Package::Stash->new($anon);
bba39a
         undef
bba39a
     );
bba39a
 }
bba39a
-
bba39a
-done_testing;
bba39a
diff -up ./t/basic.t.orig ./t/basic.t
bba39a
--- ./t/basic.t.orig	2013-01-04 09:39:44.000000000 +0000
bba39a
+++ ./t/basic.t	2013-01-06 21:34:11.949954407 +0000
bba39a
@@ -2,7 +2,7 @@
bba39a
 use strict;
bba39a
 use warnings;
bba39a
 use lib 't/lib';
bba39a
-use Test::More;
bba39a
+use Test::More tests => 131;
bba39a
 use Test::Fatal;
bba39a
 
bba39a
 use Package::Stash;
bba39a
@@ -444,5 +444,3 @@ like(
bba39a
     qr/^Package::Stash->new must be passed the name of the package to access/,
bba39a
     "module name must be a string"
bba39a
 );
bba39a
-
bba39a
-done_testing;
bba39a
diff -up ./t/compile-time.t.orig ./t/compile-time.t
bba39a
--- ./t/compile-time.t.orig	2013-01-04 09:39:44.000000000 +0000
bba39a
+++ ./t/compile-time.t	2013-01-06 21:34:11.949954407 +0000
bba39a
@@ -2,8 +2,6 @@
bba39a
 use strict;
bba39a
 use warnings;
bba39a
 use lib 't/lib';
bba39a
-use Test::More;
bba39a
+use Test::More tests => 1;
bba39a
 
bba39a
 use_ok('CompileTime');
bba39a
-
bba39a
-done_testing;
bba39a
diff -up ./t/edge-cases.t.orig ./t/edge-cases.t
bba39a
--- ./t/edge-cases.t.orig	2013-01-04 09:39:44.000000000 +0000
bba39a
+++ ./t/edge-cases.t	2013-01-06 21:34:11.949954407 +0000
bba39a
@@ -2,7 +2,7 @@
bba39a
 use strict;
bba39a
 use warnings;
bba39a
 use lib 't/lib';
bba39a
-use Test::More;
bba39a
+use Test::More tests => 19;
bba39a
 use Test::Fatal;
bba39a
 
bba39a
 use Package::Stash;
bba39a
@@ -109,5 +109,3 @@ SKIP: {
bba39a
     my $stash = Package::Stash->new('HasISA');
bba39a
     is_deeply([$stash->list_all_symbols('SCALAR')], []);
bba39a
 }
bba39a
-
bba39a
-done_testing;
bba39a
diff -up ./t/extension.t.orig ./t/extension.t
bba39a
--- ./t/extension.t.orig	2013-01-04 09:39:44.000000000 +0000
bba39a
+++ ./t/extension.t	2013-01-06 21:34:11.950954407 +0000
bba39a
@@ -2,7 +2,7 @@
bba39a
 use strict;
bba39a
 use warnings;
bba39a
 use lib 't/lib';
bba39a
-use Test::More;
bba39a
+use Test::More tests => 15;
bba39a
 use Test::Fatal;
bba39a
 
bba39a
 {
bba39a
@@ -72,5 +72,3 @@ is(exception {
bba39a
 }, undef, '... created %Foo::baz successfully');
bba39a
 
bba39a
 ok(!defined($Foo::{baz}), '... the %baz slot has still not been created');
bba39a
-
bba39a
-done_testing;
bba39a
diff -up ./t/get.t.orig ./t/get.t
bba39a
--- ./t/get.t.orig	2013-01-04 09:39:44.000000000 +0000
bba39a
+++ ./t/get.t	2013-01-06 21:34:11.950954407 +0000
bba39a
@@ -2,7 +2,7 @@
bba39a
 use strict;
bba39a
 use warnings;
bba39a
 use lib 't/lib';
bba39a
-use Test::More;
bba39a
+use Test::More tests => 36;
bba39a
 
bba39a
 use Package::Stash;
bba39a
 use Scalar::Util;
bba39a
@@ -182,5 +182,3 @@ use Scalar::Util;
bba39a
              "stash has the right variable");
bba39a
     }
bba39a
 }
bba39a
-
bba39a
-done_testing;
bba39a
diff -up ./t/impl-selection/basic-pp.t.orig ./t/impl-selection/basic-pp.t
bba39a
--- ./t/impl-selection/basic-pp.t.orig	2013-01-04 09:39:44.000000000 +0000
bba39a
+++ ./t/impl-selection/basic-pp.t	2013-01-06 21:34:11.950954407 +0000
bba39a
@@ -1,7 +1,7 @@
bba39a
 #!/usr/bin/env perl
bba39a
 use strict;
bba39a
 use warnings;
bba39a
-use Test::More;
bba39a
+use Test::More tests => 133;
bba39a
 use Test::Fatal;
bba39a
 
bba39a
 BEGIN { $Package::Stash::IMPLEMENTATION = 'PP' }
bba39a
@@ -448,5 +448,3 @@ like(
bba39a
     qr/^Package::Stash->new must be passed the name of the package to access/,
bba39a
     "module name must be a string"
bba39a
 );
bba39a
-
bba39a
-done_testing;
bba39a
diff -up ./t/impl-selection/basic-xs.t.orig ./t/impl-selection/basic-xs.t
bba39a
--- ./t/impl-selection/basic-xs.t.orig	2013-01-04 09:39:44.000000000 +0000
bba39a
+++ ./t/impl-selection/basic-xs.t	2013-01-06 21:34:11.951954407 +0000
bba39a
@@ -1,7 +1,7 @@
bba39a
 #!/usr/bin/env perl
bba39a
 use strict;
bba39a
 use warnings;
bba39a
-use Test::More;
bba39a
+use Test::More tests => 133;
bba39a
 use Test::Fatal;
bba39a
 use Test::Requires 'Package::Stash::XS';
bba39a
 
bba39a
@@ -449,5 +449,3 @@ like(
bba39a
     qr/^Package::Stash->new must be passed the name of the package to access/,
bba39a
     "module name must be a string"
bba39a
 );
bba39a
-
bba39a
-done_testing;
bba39a
diff -up ./t/impl-selection/bug-rt-78272.t.orig ./t/impl-selection/bug-rt-78272.t
bba39a
--- ./t/impl-selection/bug-rt-78272.t.orig	2013-01-04 09:39:44.000000000 +0000
bba39a
+++ ./t/impl-selection/bug-rt-78272.t	2013-01-06 21:36:22.471987526 +0000
bba39a
@@ -1,7 +1,7 @@
bba39a
 #!/usr/bin/env perl
bba39a
 use strict;
bba39a
 use warnings;
bba39a
-use Test::More;
bba39a
+use Test::More tests => 2;
bba39a
 use Test::Fatal;
bba39a
 
bba39a
 # https://rt.cpan.org/Public/Bug/Display.html?id=78272
bba39a
@@ -22,18 +22,3 @@ like(
bba39a
     'Sanity check: forcing package reload throws the exception again'
bba39a
 );
bba39a
 
bba39a
-is(
bba39a
-    exception {
bba39a
-        $ENV{PACKAGE_STASH_IMPLEMENTATION} = "PP";
bba39a
-        delete $INC{'Package/Stash.pm'};
bba39a
-        require Package::Stash;
bba39a
-        new_ok(
bba39a
-            'Package::Stash' => ['Foo'],
bba39a
-            'Loaded and able to create instances'
bba39a
-        );
bba39a
-    },
bba39a
-    undef,
bba39a
-    'Valid $ENV value loads correctly'
bba39a
-);
bba39a
-
bba39a
-done_testing;
bba39a
diff -up ./t/impl-selection/choice.t.orig ./t/impl-selection/choice.t
bba39a
--- ./t/impl-selection/choice.t.orig	2013-01-04 09:39:44.000000000 +0000
bba39a
+++ ./t/impl-selection/choice.t	2013-01-06 21:34:11.951954407 +0000
bba39a
@@ -1,7 +1,7 @@
bba39a
 #!/usr/bin/env perl
bba39a
 use strict;
bba39a
 use warnings;
bba39a
-use Test::More;
bba39a
+use Test::More tests => 2;
bba39a
 
bba39a
 my $has_xs = eval "require Package::Stash::XS; 1";
bba39a
 
bba39a
@@ -13,5 +13,3 @@ my $expected = $has_xs ? 'XS' : 'PP';
bba39a
 is($Package::Stash::IMPLEMENTATION, $expected,
bba39a
    "autodetected properly: $expected");
bba39a
 can_ok('Package::Stash', 'new');
bba39a
-
bba39a
-done_testing;
bba39a
diff -up ./t/impl-selection/env.t.orig ./t/impl-selection/env.t
bba39a
--- ./t/impl-selection/env.t.orig	2013-01-04 09:39:44.000000000 +0000
bba39a
+++ ./t/impl-selection/env.t	2013-01-06 21:34:11.952954407 +0000
bba39a
@@ -1,7 +1,7 @@
bba39a
 #!/usr/bin/env perl
bba39a
 use strict;
bba39a
 use warnings;
bba39a
-use Test::More;
bba39a
+use Test::More tests => 6;
bba39a
 
bba39a
 # XXX: work around dumb core segfault bug when you delete stashes
bba39a
 sub get_impl { eval '$Package::Stash::IMPLEMENTATION' }
bba39a
@@ -35,5 +35,3 @@ SKIP: {
bba39a
     is(get_impl, 'PP', '$ENV takes precedence over $Package::Stash::IMPLEMENTATION');
bba39a
     can_ok('Package::Stash', 'new');
bba39a
 }
bba39a
-
bba39a
-done_testing;
bba39a
diff -up ./t/impl-selection/var.t.orig ./t/impl-selection/var.t
bba39a
--- ./t/impl-selection/var.t.orig	2013-01-04 09:39:44.000000000 +0000
bba39a
+++ ./t/impl-selection/var.t	2013-01-06 21:34:11.952954407 +0000
bba39a
@@ -1,7 +1,7 @@
bba39a
 #!/usr/bin/env perl
bba39a
 use strict;
bba39a
 use warnings;
bba39a
-use Test::More;
bba39a
+use Test::More tests => 4;
bba39a
 
bba39a
 # XXX: work around dumb core segfault bug when you delete stashes
bba39a
 sub get_impl { eval '$Package::Stash::IMPLEMENTATION' }
bba39a
@@ -25,5 +25,3 @@ SKIP: {
bba39a
     is(get_impl, 'XS', "autodetected properly: XS");
bba39a
     can_ok('Package::Stash', 'new');
bba39a
 }
bba39a
-
bba39a
-done_testing;
bba39a
diff -up ./t/io.t.orig ./t/io.t
bba39a
--- ./t/io.t.orig	2013-01-04 09:39:44.000000000 +0000
bba39a
+++ ./t/io.t	2013-01-06 21:34:11.952954407 +0000
bba39a
@@ -2,7 +2,7 @@
bba39a
 use strict;
bba39a
 use warnings;
bba39a
 use lib 't/lib';
bba39a
-use Test::More;
bba39a
+use Test::More tests => 11;
bba39a
 use Test::Fatal;
bba39a
 
bba39a
 {
bba39a
@@ -47,5 +47,3 @@ use Package::Stash;
bba39a
     ok($stash->has_symbol('baz'), "has baz");
bba39a
     is($stash->get_symbol('baz'), *Foo::foo{IO}, "got the right baz");
bba39a
 }
bba39a
-
bba39a
-done_testing;
bba39a
diff -up ./t/isa.t.orig ./t/isa.t
bba39a
--- ./t/isa.t.orig	2013-01-04 09:39:44.000000000 +0000
bba39a
+++ ./t/isa.t	2013-01-06 21:34:11.953954407 +0000
bba39a
@@ -2,7 +2,7 @@
bba39a
 use strict;
bba39a
 use warnings;
bba39a
 use lib 't/lib';
bba39a
-use Test::More;
bba39a
+use Test::More tests => 8;
bba39a
 
bba39a
 use Package::Stash;
bba39a
 
bba39a
@@ -19,7 +19,10 @@ use Package::Stash;
bba39a
     my $stash = Package::Stash->new('Foo');
bba39a
     my @ISA = ('Bar');
bba39a
     @{$stash->get_or_add_symbol('@ISA')} = @ISA;
bba39a
+    SKIP: {
bba39a
+    skip "Test::More >= 0.88 needed for isa_ok() tests on classes", 1 if $Test::More::VERSION < 0.88;
bba39a
     isa_ok('Foo', 'Bar');
bba39a
+    }
bba39a
     isa_ok(bless({}, 'Foo'), 'Bar');
bba39a
 }
bba39a
 
bba39a
@@ -33,17 +36,21 @@ use Package::Stash;
bba39a
     {
bba39a
         my $isa = $stash->get_or_add_symbol('@ISA');
bba39a
         @$isa = ('Baz');
bba39a
+        SKIP: {
bba39a
+        skip "Test::More >= 0.88 needed for isa_ok() tests on classes", 1 if $Test::More::VERSION < 0.88;
bba39a
         isa_ok('Quux', 'Baz');
bba39a
+        }
bba39a
         isa_ok(bless({}, 'Quux'), 'Baz');
bba39a
         ok(Quux->can('foo'));
bba39a
     }
bba39a
     {
bba39a
         my $isa = $stash->get_or_add_symbol('@ISA');
bba39a
         @$isa = ('Bar');
bba39a
+        SKIP: {
bba39a
+        skip "Test::More >= 0.88 needed for isa_ok() tests on classes", 1 if $Test::More::VERSION < 0.88;
bba39a
         isa_ok('Quux', 'Bar');
bba39a
+        }
bba39a
         isa_ok(bless({}, 'Quux'), 'Bar');
bba39a
         ok(Quux->can('bar'));
bba39a
     }
bba39a
 }
bba39a
-
bba39a
-done_testing;
bba39a
diff -up ./t/magic.t.orig ./t/magic.t
bba39a
--- ./t/magic.t.orig	2013-01-04 09:39:44.000000000 +0000
bba39a
+++ ./t/magic.t	2013-01-06 21:34:11.953954407 +0000
bba39a
@@ -2,7 +2,7 @@
bba39a
 use strict;
bba39a
 use warnings;
bba39a
 use lib 't/lib';
bba39a
-use Test::More;
bba39a
+use Test::More tests => 4;
bba39a
 
bba39a
 use Package::Stash;
bba39a
 
bba39a
@@ -28,5 +28,3 @@ use Package::Stash;
bba39a
     my @foo = qw(a b c);
bba39a
     is(eval q["@foo"], 'a-b-c');
bba39a
 }
bba39a
-
bba39a
-done_testing;
bba39a
diff -up ./t/paamayim_nekdotayim.t.orig ./t/paamayim_nekdotayim.t
bba39a
--- ./t/paamayim_nekdotayim.t.orig	2013-01-04 09:39:44.000000000 +0000
bba39a
+++ ./t/paamayim_nekdotayim.t	2013-01-06 21:34:11.953954407 +0000
bba39a
@@ -2,7 +2,7 @@
bba39a
 use strict;
bba39a
 use warnings;
bba39a
 use lib 't/lib';
bba39a
-use Test::More;
bba39a
+use Test::More tests => 3;
bba39a
 use Test::Fatal;
bba39a
 
bba39a
 use Package::Stash;
bba39a
@@ -24,5 +24,3 @@ like(
bba39a
     qr/^Variable names may not contain ::/,
bba39a
     "can't add symbol with ::"
bba39a
 );
bba39a
-
bba39a
-done_testing;
bba39a
diff -up ./t/scalar-values.t.orig ./t/scalar-values.t
bba39a
--- ./t/scalar-values.t.orig	2013-01-04 09:39:44.000000000 +0000
bba39a
+++ ./t/scalar-values.t	2013-01-06 21:34:11.953954407 +0000
bba39a
@@ -2,7 +2,7 @@
bba39a
 use strict;
bba39a
 use warnings;
bba39a
 use lib 't/lib';
bba39a
-use Test::More;
bba39a
+use Test::More tests => 14;
bba39a
 use Test::Fatal;
bba39a
 
bba39a
 use B;
bba39a
@@ -49,5 +49,3 @@ my $vstring = v1.2.3;
bba39a
 is(reftype(\$vstring), ($] < 5.010 ? 'SCALAR' : 'VSTRING'));
bba39a
 is(exception { $Bar->add_symbol('$vstring', \$vstring) }, undef,
bba39a
    "can add vstring values");
bba39a
-
bba39a
-done_testing;
bba39a
diff -up ./t/stash-deletion.t.orig ./t/stash-deletion.t
bba39a
--- ./t/stash-deletion.t.orig	2013-01-04 09:39:44.000000000 +0000
bba39a
+++ ./t/stash-deletion.t	2013-01-06 21:34:11.954954407 +0000
bba39a
@@ -2,7 +2,7 @@
bba39a
 use strict;
bba39a
 use warnings;
bba39a
 use lib 't/lib';
bba39a
-use Test::More;
bba39a
+use Test::More tests => 2;
bba39a
 
bba39a
 use Package::Stash;
bba39a
 
bba39a
@@ -20,5 +20,3 @@ use Package::Stash;
bba39a
     }
bba39a
     ok(!$delete->has_symbol('&bar'), "method goes away when stash is deleted");
bba39a
 }
bba39a
-
bba39a
-done_testing;
bba39a
diff -up ./t/synopsis.t.orig ./t/synopsis.t
bba39a
--- ./t/synopsis.t.orig	2013-01-04 09:39:44.000000000 +0000
bba39a
+++ ./t/synopsis.t	2013-01-06 21:34:11.954954407 +0000
bba39a
@@ -2,7 +2,7 @@
bba39a
 use strict;
bba39a
 use warnings;
bba39a
 use lib 't/lib';
bba39a
-use Test::More;
bba39a
+use Test::More tests => 3;
bba39a
 
bba39a
 use Package::Stash;
bba39a
 
bba39a
@@ -15,5 +15,3 @@ $stash->add_symbol('%foo', {bar => 1});
bba39a
 ok(!$stash->has_symbol('$foo'), "doesn't have anything in scalar slot");
bba39a
 my $namespace = $stash->namespace;
bba39a
 is_deeply(*{ $namespace->{foo} }{HASH}, {bar => 1}, "namespace works properly");
bba39a
-
bba39a
-done_testing;
bba39a
diff -up ./xt/author/leaks-debug.t.orig ./xt/author/leaks-debug.t
bba39a
--- ./xt/author/leaks-debug.t.orig	2013-01-04 09:39:44.000000000 +0000
bba39a
+++ ./xt/author/leaks-debug.t	2013-01-06 21:34:11.954954407 +0000
bba39a
@@ -6,6 +6,8 @@ use Test::More;
bba39a
 use Test::Fatal;
bba39a
 use Test::LeakTrace;
bba39a
 
bba39a
+plan tests => 45;
bba39a
+
bba39a
 BEGIN { $^P |= 0x210 } # PERLDBf_SUBLINE
bba39a
 
bba39a
 use Package::Stash;
bba39a
@@ -176,7 +178,10 @@ use Symbol;
bba39a
     ok($foo->has_symbol('@ISA'));
bba39a
     is(ref($foo->get_symbol('@ISA')), 'ARRAY');
bba39a
     is_deeply($foo->get_symbol('@ISA'), ['Exporter']);
bba39a
+    SKIP: {
bba39a
+    skip "Test::More >= 0.88 needed for isa_ok() tests on classes", 1 if $Test::More::VERSION < 0.88;
bba39a
     isa_ok('Foo', 'Exporter');
bba39a
+    }
bba39a
 }
bba39a
 
bba39a
 {
bba39a
@@ -226,5 +231,3 @@ use Symbol;
bba39a
         eval { $foo->add_symbol('&blorg') };
bba39a
     } "doesn't leak on errors";
bba39a
 }
bba39a
-
bba39a
-done_testing;
bba39a
diff -up ./xt/author/leaks.t.orig ./xt/author/leaks.t
bba39a
--- ./xt/author/leaks.t.orig	2013-01-04 09:39:44.000000000 +0000
bba39a
+++ ./xt/author/leaks.t	2013-01-06 21:34:11.955954408 +0000
bba39a
@@ -6,6 +6,8 @@ use Test::More;
bba39a
 use Test::Fatal;
bba39a
 use Test::LeakTrace;
bba39a
 
bba39a
+plan tests => 45;
bba39a
+
bba39a
 use Package::Stash;
bba39a
 use Symbol;
bba39a
 
bba39a
@@ -174,7 +176,10 @@ use Symbol;
bba39a
     ok($foo->has_symbol('@ISA'));
bba39a
     is(ref($foo->get_symbol('@ISA')), 'ARRAY');
bba39a
     is_deeply($foo->get_symbol('@ISA'), ['Exporter']);
bba39a
+    SKIP: {
bba39a
+    skip "Test::More >= 0.88 needed for isa_ok() tests on classes", 1 if $Test::More::VERSION < 0.88;
bba39a
     isa_ok('Foo', 'Exporter');
bba39a
+    }
bba39a
 }
bba39a
 
bba39a
 {
bba39a
@@ -224,5 +229,3 @@ use Symbol;
bba39a
         eval { $foo->add_symbol('&blorg') };
bba39a
     } "doesn't leak on errors";
bba39a
 }
bba39a
-
bba39a
-done_testing;