Skip to content

Commit

Permalink
Test::More 0.94 seems to not have implicit done_testing at the end of…
Browse files Browse the repository at this point in the history
… subtests.
  • Loading branch information
Jonathan Steinert committed Mar 18, 2012
1 parent a4a3c2e commit a7bd7de
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGES
@@ -1,3 +1,6 @@
-- Fix Test::More 0.94 (Which is our required version) testing problems.
(Jonathan Steinert <hachi@kuiki.net>)

-- Fix (loopback/localhost) connection failures on some BSD machines.
(Jonathan Steinert <hachi@kuiki.net>)

Expand Down
1 change: 1 addition & 0 deletions t/91-fields.t
Expand Up @@ -19,6 +19,7 @@ SKIP: {
use_ok('Perlbal::CommandContext');
eval { Perlbal::CommandContext->new(); };
like( $@, qr{$warn_mocked}, "use old library" );
done_testing();
};
}

Expand Down
3 changes: 3 additions & 0 deletions t/99-benchmark-bool.t
Expand Up @@ -11,13 +11,15 @@ my $class = 'Perlbal::Service';

subtest 'module checking' => sub {
isa_ok( $class->new(), $class, "can create object from $class" );
done_testing();
};

my @words = generate_words(1000);

subtest 'check sub integrity' => sub {
is_deeply( test_optimized(), test_original(), "sub optimized" );
is_deeply( test_hash(), test_original(), "sub hash" );
done_testing();
};

SKIP: {
Expand All @@ -36,6 +38,7 @@ SKIP: {
'hash' => \&test_hash,
}
);
done_testing();
};

}
Expand Down

0 comments on commit a7bd7de

Please sign in to comment.