Subject: | t/02.format_perl_version.t requires Test::More >= 0.88 |
t/02.format_perl_version.t makes use of Test::More's done_testing()
which is only available since 0.88. For better support with older
versions of Test-Simple (think enterprise linux distributions), it would
be nice to have a regular test plan. Simple patch attached.
Subject: | older-Test-More.patch |
diff -up App-perlbrew-0.15/t/02.format_perl_version.t.orig App-perlbrew-0.15/t/02.format_perl_version.t
--- App-perlbrew-0.15/t/02.format_perl_version.t.orig 2010-11-17 11:11:40.000000000 +0100
+++ App-perlbrew-0.15/t/02.format_perl_version.t 2010-12-09 05:15:35.000000000 +0100
@@ -2,7 +2,7 @@
use strict;
use warnings;
use English qw( -no_match_vars );
-use Test::More;
+use Test::More tests => 3;
use lib qw(lib);
use App::perlbrew;
@@ -29,5 +29,4 @@ my @test_cases = (
is( $app->format_perl_version( $test->{raw} ),
$test->{parsed}, "$test->{raw} -> $test->{parsed}" );
}
- done_testing();
}