File Log-Dispatch-old_Test-More.patch of Package perl-Log-Dispatch
Index: Log-Dispatch-2.29/t/03-short-syntax.t
===================================================================
--- Log-Dispatch-2.29.orig/t/03-short-syntax.t
+++ Log-Dispatch-2.29/t/03-short-syntax.t
@@ -1,7 +1,7 @@
use strict;
use warnings;
use lib qw(t/lib);
-use Test::More;
+use Test::More qw(no_plan);
use Log::Dispatch;
use Log::Dispatch::TestUtil qw(cmp_deeply);
use File::Temp qw( tempdir );
@@ -66,4 +66,4 @@ my $tempdir = tempdir( CLEANUP => 1 );
"got error for expected outer arrayref" );
}
-done_testing();
+#done_testing();
Index: Log-Dispatch-2.29/t/01-basic.t
===================================================================
--- Log-Dispatch-2.29.orig/t/01-basic.t
+++ Log-Dispatch-2.29/t/01-basic.t
@@ -1,7 +1,7 @@
use strict;
use warnings;
-use Test::More;
+use Test::More qw(no_plan);
use File::Spec;
use File::Temp qw( tempdir );
@@ -951,7 +951,7 @@ SKIP:
is( $dispatch->max_level, 'emergency', 'max_level is emergency' );
}
-done_testing();
+#done_testing();
package Log::Dispatch::String;