@@ -, +, @@ Installer_PerlModules.pm notices more tests are run --- t/Installer_PerlModules.t | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --- a/t/Installer_PerlModules.t +++ a/t/Installer_PerlModules.t @@ -6,7 +6,7 @@ use strict; use warnings; -use Test::More tests => 16; +use Test::More tests => 17; BEGIN { use_ok('C4::Installer::PerlModules'); @@ -36,3 +36,7 @@ my @module_list = $modules->module_list; %params = map { $_ => 1 } @module_list; ok (exists($params{"DBI"}), 'DBI exists in array'); is ($modules->required('module'=>"String::Random"),1, 'String::Random should return 1 since required'); +ok (!$modules->version_info(), "Testing empty modules"); + + + --