|
|
faddd9 |
diff -up Module-Implementation-0.05/t/basic.t.orig Module-Implementation-0.05/t/basic.t
|
|
|
faddd9 |
--- Module-Implementation-0.05/t/basic.t.orig 2012-02-09 14:49:29.000000000 +0000
|
|
|
faddd9 |
+++ Module-Implementation-0.05/t/basic.t 2012-02-10 10:53:07.453271294 +0000
|
|
|
faddd9 |
@@ -1,7 +1,7 @@
|
|
|
faddd9 |
use strict;
|
|
|
faddd9 |
use warnings;
|
|
|
faddd9 |
|
|
|
faddd9 |
-use Test::More 0.88;
|
|
|
faddd9 |
+use Test::More tests => 5;
|
|
|
faddd9 |
|
|
|
faddd9 |
{
|
|
|
faddd9 |
package T;
|
|
|
faddd9 |
@@ -33,5 +33,3 @@ use Test::More 0.88;
|
|
|
faddd9 |
'T::_implementation returns default implementation'
|
|
|
faddd9 |
);
|
|
|
faddd9 |
}
|
|
|
faddd9 |
-
|
|
|
faddd9 |
-done_testing();
|
|
|
faddd9 |
diff -up Module-Implementation-0.05/t/both-fail.t.orig Module-Implementation-0.05/t/both-fail.t
|
|
|
faddd9 |
--- Module-Implementation-0.05/t/both-fail.t.orig 2012-02-09 14:49:29.000000000 +0000
|
|
|
faddd9 |
+++ Module-Implementation-0.05/t/both-fail.t 2012-02-10 10:53:07.461271306 +0000
|
|
|
faddd9 |
@@ -1,7 +1,7 @@
|
|
|
faddd9 |
use strict;
|
|
|
faddd9 |
use warnings;
|
|
|
faddd9 |
|
|
|
faddd9 |
-use Test::More 0.88;
|
|
|
faddd9 |
+use Test::More tests => 1;
|
|
|
faddd9 |
use Test::Fatal;
|
|
|
faddd9 |
|
|
|
faddd9 |
{
|
|
|
faddd9 |
@@ -24,5 +24,3 @@ use Test::Fatal;
|
|
|
faddd9 |
'Got an exception when all implementations fail to load'
|
|
|
faddd9 |
);
|
|
|
faddd9 |
}
|
|
|
faddd9 |
-
|
|
|
faddd9 |
-done_testing();
|
|
|
faddd9 |
diff -up Module-Implementation-0.05/t/env-value.t.orig Module-Implementation-0.05/t/env-value.t
|
|
|
faddd9 |
--- Module-Implementation-0.05/t/env-value.t.orig 2012-02-09 14:49:29.000000000 +0000
|
|
|
faddd9 |
+++ Module-Implementation-0.05/t/env-value.t 2012-02-10 10:53:07.462271308 +0000
|
|
|
faddd9 |
@@ -1,7 +1,7 @@
|
|
|
faddd9 |
use strict;
|
|
|
faddd9 |
use warnings;
|
|
|
faddd9 |
|
|
|
faddd9 |
-use Test::More 0.88;
|
|
|
faddd9 |
+use Test::More tests => 4;
|
|
|
faddd9 |
|
|
|
faddd9 |
{
|
|
|
faddd9 |
package T;
|
|
|
faddd9 |
@@ -35,5 +35,3 @@ use Test::More 0.88;
|
|
|
faddd9 |
'T::_implementation returns implementation set in ENV'
|
|
|
faddd9 |
);
|
|
|
faddd9 |
}
|
|
|
faddd9 |
-
|
|
|
faddd9 |
-done_testing();
|
|
|
faddd9 |
diff -up Module-Implementation-0.05/t/more-symbols.t.orig Module-Implementation-0.05/t/more-symbols.t
|
|
|
faddd9 |
--- Module-Implementation-0.05/t/more-symbols.t.orig 2012-02-09 14:49:29.000000000 +0000
|
|
|
faddd9 |
+++ Module-Implementation-0.05/t/more-symbols.t 2012-02-10 10:53:07.462271308 +0000
|
|
|
faddd9 |
@@ -1,7 +1,7 @@
|
|
|
faddd9 |
use strict;
|
|
|
faddd9 |
use warnings;
|
|
|
faddd9 |
|
|
|
faddd9 |
-use Test::More 0.88;
|
|
|
faddd9 |
+use Test::More tests => 7;
|
|
|
faddd9 |
|
|
|
faddd9 |
{
|
|
|
faddd9 |
package T;
|
|
|
faddd9 |
@@ -43,5 +43,3 @@ use Test::More 0.88;
|
|
|
faddd9 |
'%T::HASH was copied from implementation'
|
|
|
faddd9 |
);
|
|
|
faddd9 |
}
|
|
|
faddd9 |
-
|
|
|
faddd9 |
-done_testing();
|
|
|
faddd9 |
diff -up Module-Implementation-0.05/t/one-impl-fails1.t.orig Module-Implementation-0.05/t/one-impl-fails1.t
|
|
|
faddd9 |
--- Module-Implementation-0.05/t/one-impl-fails1.t.orig 2012-02-09 14:49:29.000000000 +0000
|
|
|
faddd9 |
+++ Module-Implementation-0.05/t/one-impl-fails1.t 2012-02-10 10:53:07.462271308 +0000
|
|
|
faddd9 |
@@ -1,7 +1,7 @@
|
|
|
faddd9 |
use strict;
|
|
|
faddd9 |
use warnings;
|
|
|
faddd9 |
|
|
|
faddd9 |
-use Test::More 0.88;
|
|
|
faddd9 |
+use Test::More tests => 2;
|
|
|
faddd9 |
|
|
|
faddd9 |
{
|
|
|
faddd9 |
package T;
|
|
|
faddd9 |
@@ -24,5 +24,3 @@ use Test::More 0.88;
|
|
|
faddd9 |
ok( T->can('return_42'), 'T package has a return_42 sub' );
|
|
|
faddd9 |
ok( !T->can('return_package'), 'T package has a return_package sub' );
|
|
|
faddd9 |
}
|
|
|
faddd9 |
-
|
|
|
faddd9 |
-done_testing();
|
|
|
faddd9 |
diff -up Module-Implementation-0.05/t/one-impl-fails2.t.orig Module-Implementation-0.05/t/one-impl-fails2.t
|
|
|
faddd9 |
--- Module-Implementation-0.05/t/one-impl-fails2.t.orig 2012-02-09 14:49:29.000000000 +0000
|
|
|
faddd9 |
+++ Module-Implementation-0.05/t/one-impl-fails2.t 2012-02-10 10:53:07.463271310 +0000
|
|
|
faddd9 |
@@ -1,7 +1,7 @@
|
|
|
faddd9 |
use strict;
|
|
|
faddd9 |
use warnings;
|
|
|
faddd9 |
|
|
|
faddd9 |
-use Test::More 0.88;
|
|
|
faddd9 |
+use Test::More tests => 2;
|
|
|
faddd9 |
|
|
|
faddd9 |
{
|
|
|
faddd9 |
package T;
|
|
|
faddd9 |
@@ -24,5 +24,3 @@ use Test::More 0.88;
|
|
|
faddd9 |
ok( T->can('return_42'), 'T package has a return_42 sub' );
|
|
|
faddd9 |
ok( !T->can('return_package'), 'T package has a return_package sub' );
|
|
|
faddd9 |
}
|
|
|
faddd9 |
-
|
|
|
faddd9 |
-done_testing();
|
|
|
faddd9 |
diff -up Module-Implementation-0.05/t/release-cpan-changes.t.orig Module-Implementation-0.05/t/release-cpan-changes.t
|
|
|
faddd9 |
--- Module-Implementation-0.05/t/release-cpan-changes.t.orig 2012-02-09 14:49:29.000000000 +0000
|
|
|
faddd9 |
+++ Module-Implementation-0.05/t/release-cpan-changes.t 2012-02-10 10:53:07.463271310 +0000
|
|
|
faddd9 |
@@ -1,15 +1,11 @@
|
|
|
faddd9 |
#!perl
|
|
|
faddd9 |
|
|
|
faddd9 |
+use Test::More;
|
|
|
faddd9 |
+
|
|
|
faddd9 |
BEGIN {
|
|
|
faddd9 |
- unless ($ENV{RELEASE_TESTING}) {
|
|
|
faddd9 |
- require Test::More;
|
|
|
faddd9 |
- Test::More::plan(skip_all => 'these tests are for release candidate testing');
|
|
|
faddd9 |
- }
|
|
|
faddd9 |
+ plan skip_all => 'these tests are for release candidate testing' unless ($ENV{RELEASE_TESTING});
|
|
|
faddd9 |
+ eval 'use Test::CPAN::Changes';
|
|
|
faddd9 |
+ plan skip_all => 'Test::CPAN::Changes required for this test' if $@;
|
|
|
faddd9 |
}
|
|
|
faddd9 |
|
|
|
faddd9 |
-
|
|
|
faddd9 |
-use Test::More;
|
|
|
faddd9 |
-eval 'use Test::CPAN::Changes';
|
|
|
faddd9 |
-plan skip_all => 'Test::CPAN::Changes required for this test' if $@;
|
|
|
faddd9 |
changes_ok();
|
|
|
faddd9 |
-done_testing();
|
|
|
faddd9 |
diff -up Module-Implementation-0.05/t/requested-fails.t.orig Module-Implementation-0.05/t/requested-fails.t
|
|
|
faddd9 |
--- Module-Implementation-0.05/t/requested-fails.t.orig 2012-02-09 14:49:29.000000000 +0000
|
|
|
faddd9 |
+++ Module-Implementation-0.05/t/requested-fails.t 2012-02-10 10:53:07.463271310 +0000
|
|
|
faddd9 |
@@ -1,7 +1,7 @@
|
|
|
faddd9 |
use strict;
|
|
|
faddd9 |
use warnings;
|
|
|
faddd9 |
|
|
|
faddd9 |
-use Test::More 0.88;
|
|
|
faddd9 |
+use Test::More tests => 1;
|
|
|
faddd9 |
use Test::Fatal;
|
|
|
faddd9 |
|
|
|
faddd9 |
{
|
|
|
faddd9 |
@@ -26,5 +26,3 @@ use Test::Fatal;
|
|
|
faddd9 |
'Got an exception when implementation requested in env value fails to load'
|
|
|
faddd9 |
);
|
|
|
faddd9 |
}
|
|
|
faddd9 |
-
|
|
|
faddd9 |
-done_testing();
|
|
|
faddd9 |
diff -up Module-Implementation-0.05/t/taint.t.orig Module-Implementation-0.05/t/taint.t
|
|
|
faddd9 |
--- Module-Implementation-0.05/t/taint.t.orig 2012-02-09 14:49:29.000000000 +0000
|
|
|
faddd9 |
+++ Module-Implementation-0.05/t/taint.t 2012-02-10 10:53:42.164322515 +0000
|
|
|
faddd9 |
@@ -7,7 +7,7 @@ use Test::Requires {
|
|
|
faddd9 |
'Test::Taint' => '0',
|
|
|
faddd9 |
};
|
|
|
faddd9 |
|
|
|
faddd9 |
-use Test::More 0.88;
|
|
|
faddd9 |
+use Test::More tests => 3;
|
|
|
faddd9 |
use Test::Fatal;
|
|
|
faddd9 |
|
|
|
faddd9 |
taint_checking_ok();
|
|
|
faddd9 |
@@ -42,5 +42,3 @@ taint_checking_ok();
|
|
|
faddd9 |
'T::_implementation returns implementation set in ENV'
|
|
|
faddd9 |
);
|
|
|
faddd9 |
}
|
|
|
faddd9 |
-
|
|
|
faddd9 |
-done_testing();
|