134 lines
3.2 KiB
Diff
134 lines
3.2 KiB
Diff
|
Index: Eval-Closure-0.05/t/01-basic.t
|
||
|
===================================================================
|
||
|
--- Eval-Closure-0.05.orig/t/01-basic.t
|
||
|
+++ Eval-Closure-0.05/t/01-basic.t
|
||
|
@@ -1,7 +1,7 @@
|
||
|
#!/usr/bin/env perl
|
||
|
use strict;
|
||
|
use warnings;
|
||
|
-use Test::More;
|
||
|
+use Test::More qw(no_plan);
|
||
|
use Test::Fatal;
|
||
|
|
||
|
use Eval::Closure;
|
||
|
@@ -45,4 +45,4 @@ use Eval::Closure;
|
||
|
ok(!$code->(), "environment is clean");
|
||
|
}
|
||
|
|
||
|
-done_testing;
|
||
|
+#done_testing;
|
||
|
Index: Eval-Closure-0.05/t/02-close-over.t
|
||
|
===================================================================
|
||
|
--- Eval-Closure-0.05.orig/t/02-close-over.t
|
||
|
+++ Eval-Closure-0.05/t/02-close-over.t
|
||
|
@@ -1,7 +1,7 @@
|
||
|
#!/usr/bin/env perl
|
||
|
use strict;
|
||
|
use warnings;
|
||
|
-use Test::More;
|
||
|
+use Test::More qw(no_plan);
|
||
|
use Test::Fatal;
|
||
|
|
||
|
use Eval::Closure;
|
||
|
@@ -52,4 +52,4 @@ use Test::Requires 'PadWalker';
|
||
|
# it'd be nice if we could test that closing over other things wasn't possible,
|
||
|
# but perl's optimizer gets in the way of that
|
||
|
|
||
|
-done_testing;
|
||
|
+#done_testing;
|
||
|
Index: Eval-Closure-0.05/t/03-description.t
|
||
|
===================================================================
|
||
|
--- Eval-Closure-0.05.orig/t/03-description.t
|
||
|
+++ Eval-Closure-0.05/t/03-description.t
|
||
|
@@ -1,7 +1,7 @@
|
||
|
#!/usr/bin/env perl
|
||
|
use strict;
|
||
|
use warnings;
|
||
|
-use Test::More;
|
||
|
+use Test::More qw(no_plan);
|
||
|
use Test::Fatal;
|
||
|
|
||
|
use Eval::Closure;
|
||
|
@@ -50,4 +50,4 @@ SOURCE
|
||
|
"description is set"
|
||
|
);
|
||
|
}
|
||
|
-done_testing;
|
||
|
+#done_testing;
|
||
|
Index: Eval-Closure-0.05/t/04-canonicalize-source.t
|
||
|
===================================================================
|
||
|
--- Eval-Closure-0.05.orig/t/04-canonicalize-source.t
|
||
|
+++ Eval-Closure-0.05/t/04-canonicalize-source.t
|
||
|
@@ -1,7 +1,7 @@
|
||
|
#!/usr/bin/env perl
|
||
|
use strict;
|
||
|
use warnings;
|
||
|
-use Test::More;
|
||
|
+use Test::More qw(no_plan);
|
||
|
|
||
|
use Eval::Closure;
|
||
|
|
||
|
@@ -28,4 +28,4 @@ use Eval::Closure;
|
||
|
is($code->(), "foo", "got the right code");
|
||
|
}
|
||
|
|
||
|
-done_testing;
|
||
|
+#done_testing;
|
||
|
Index: Eval-Closure-0.05/t/05-memoize.t
|
||
|
===================================================================
|
||
|
--- Eval-Closure-0.05.orig/t/05-memoize.t
|
||
|
+++ Eval-Closure-0.05/t/05-memoize.t
|
||
|
@@ -1,7 +1,7 @@
|
||
|
#!/usr/bin/env perl
|
||
|
use strict;
|
||
|
use warnings;
|
||
|
-use Test::More;
|
||
|
+use Test::More qw(no_plan);
|
||
|
use Test::Fatal;
|
||
|
use Test::Requires 'Test::Output';
|
||
|
|
||
|
@@ -99,4 +99,4 @@ use Eval::Closure;
|
||
|
"got the right description");
|
||
|
}
|
||
|
|
||
|
-done_testing;
|
||
|
+#done_testing;
|
||
|
Index: Eval-Closure-0.05/t/10-errors.t
|
||
|
===================================================================
|
||
|
--- Eval-Closure-0.05.orig/t/10-errors.t
|
||
|
+++ Eval-Closure-0.05/t/10-errors.t
|
||
|
@@ -1,7 +1,7 @@
|
||
|
#!/usr/bin/env perl
|
||
|
use strict;
|
||
|
use warnings;
|
||
|
-use Test::More;
|
||
|
+use Test::More qw(no_plan);
|
||
|
use Test::Fatal;
|
||
|
|
||
|
use Eval::Closure;
|
||
|
@@ -64,4 +64,4 @@ unlike(
|
||
|
"with terse_error, does not include the source code"
|
||
|
);
|
||
|
|
||
|
-done_testing;
|
||
|
+#done_testing;
|
||
|
Index: Eval-Closure-0.05/t/11-debugger.t
|
||
|
===================================================================
|
||
|
--- Eval-Closure-0.05.orig/t/11-debugger.t
|
||
|
+++ Eval-Closure-0.05/t/11-debugger.t
|
||
|
@@ -1,7 +1,7 @@
|
||
|
#!/usr/bin/env perl
|
||
|
use strict;
|
||
|
use warnings;
|
||
|
-use Test::More;
|
||
|
+use Test::More qw(no_plan);
|
||
|
use Test::Fatal;
|
||
|
|
||
|
BEGIN { $^P |= 0x210 } # PERLDBf_SUBLINE
|
||
|
@@ -20,4 +20,4 @@ unlike(
|
||
|
);
|
||
|
|
||
|
|
||
|
-done_testing;
|
||
|
+#done_testing;
|