From: Dagfinn Ilmari Mannsåker Date: Mon, 6 Jan 2014 13:46:49 +0000 (+0000) Subject: Convert t/22dump.t to done_testing() X-Git-Tag: 0.07039~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2ee3bb7a31d71c5e149209bfd1ca076d846992d9;p=dbsrgits%2FDBIx-Class-Schema-Loader.git Convert t/22dump.t to done_testing() --- diff --git a/t/22dump.t b/t/22dump.t index cc92d9d..6e55839 100644 --- a/t/22dump.t +++ b/t/22dump.t @@ -27,8 +27,6 @@ my $dump_path = "$tdir/dump"; ); } -plan tests => 7; - rmtree($dump_path, 1, 1); lives_ok { @@ -66,4 +64,6 @@ lives_ok { ]; } 'no death with dump_directory set (overwrite2)' or diag "Dump failed: $@"; +done_testing(); + END { rmtree($dump_path, 1, 1); }