You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
101 lines
1.7 KiB
101 lines
1.7 KiB
--- t/01-basic.t |
|
+++ t/01-basic.t |
|
@@ -1,7 +1,7 @@ |
|
#!/usr/bin/env perl |
|
use strict; |
|
use warnings; |
|
-use Test::More; |
|
+use Test::More tests => 6; |
|
use lib 't/lib/01'; |
|
|
|
{ |
|
@@ -43,5 +43,3 @@ use lib 't/lib/01'; |
|
"nested conflicts work" |
|
); |
|
} |
|
- |
|
-done_testing; |
|
--- t/02-conflicts.t |
|
+++ t/02-conflicts.t |
|
@@ -1,7 +1,7 @@ |
|
#!/usr/bin/env perl |
|
use strict; |
|
use warnings; |
|
-use Test::More; |
|
+use Test::More tests => 12; |
|
use Test::Fatal; |
|
use lib 't/lib/02'; |
|
|
|
@@ -68,5 +68,3 @@ use lib 't/lib/02'; |
|
"correct conflict error" |
|
); |
|
} |
|
- |
|
-done_testing; |
|
--- t/03-dist.t |
|
+++ t/03-dist.t |
|
@@ -1,7 +1,7 @@ |
|
#!/usr/bin/env perl |
|
use strict; |
|
use warnings; |
|
-use Test::More; |
|
+use Test::More tests => 16; |
|
use Test::Fatal; |
|
use lib 't/lib/03'; |
|
|
|
@@ -72,5 +72,3 @@ use lib 't/lib/03'; |
|
); |
|
is(Bar::Conflicts::Bad->dist, 'Bar', "correct dist"); |
|
} |
|
- |
|
-done_testing; |
|
--- t/04-merge.t |
|
+++ t/04-merge.t |
|
@@ -1,7 +1,7 @@ |
|
#!/usr/bin/env perl |
|
use strict; |
|
use warnings; |
|
-use Test::More; |
|
+use Test::More tests => 2; |
|
use lib 't/lib/04'; |
|
|
|
{ |
|
@@ -17,5 +17,3 @@ use lib 't/lib/04'; |
|
"got the right conflicts" |
|
); |
|
} |
|
- |
|
-done_testing; |
|
--- t/05-also.t |
|
+++ t/05-also.t |
|
@@ -1,7 +1,7 @@ |
|
#!/usr/bin/env perl |
|
use strict; |
|
use warnings; |
|
-use Test::More; |
|
+use Test::More tests => 4; |
|
use Test::Fatal; |
|
use lib 't/lib/05'; |
|
|
|
@@ -28,5 +28,3 @@ use lib 't/lib/05'; |
|
"unknown also entries are ignored" |
|
); |
|
} |
|
- |
|
-done_testing; |
|
--- t/06-runtime.t |
|
+++ t/06-runtime.t |
|
@@ -1,7 +1,7 @@ |
|
#!/usr/bin/env perl |
|
use strict; |
|
use warnings; |
|
-use Test::More; |
|
+use Test::More tests => 9; |
|
use lib 't/lib/06'; |
|
|
|
sub use_ok_warnings { |
|
@@ -44,4 +44,3 @@ is(scalar(grep { ref($_) eq 'ARRAY' && @ |
|
1, |
|
"only installed one \@INC hook"); |
|
|
|
-done_testing;
|
|
|