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.
36 lines
790 B
36 lines
790 B
6 years ago
|
--- t/OSType.t
|
||
|
+++ t/OSType.t
|
||
|
@@ -1,7 +1,7 @@
|
||
|
use strict;
|
||
|
use warnings;
|
||
|
|
||
|
-use Test::More 0.88;
|
||
|
+use Test::More tests => 19;
|
||
|
|
||
|
use constant NON_EXISTENT_OS => 'titanix'; #the system they said could not go down...
|
||
|
|
||
|
@@ -66,6 +66,3 @@ can_ok( $test_pkg, @functions );
|
||
|
ok( is_os_type( 'VOS' ), "$fcn: true" );
|
||
|
ok( ! is_os_type(), "$fcn: false if no type provided" );
|
||
|
}
|
||
|
-
|
||
|
-done_testing;
|
||
|
-
|
||
|
--- xt/release/test-version.t
|
||
|
+++ xt/release/test-version.t
|
||
|
@@ -1,6 +1,6 @@
|
||
|
use strict;
|
||
|
use warnings;
|
||
|
-use Test::More;
|
||
|
+use Test::More tests => 2;
|
||
|
|
||
|
# generated by Dist::Zilla::Plugin::Test::Version 0.002004
|
||
|
BEGIN { eval "use Test::Version; 1;" or die $@; }
|
||
|
@@ -18,5 +18,4 @@ push @imports, $params
|
||
|
|
||
|
Test::Version->import(@imports);
|
||
|
|
||
|
-version_all_ok;
|
||
|
-done_testing;
|
||
|
+version_all_ok();
|