houseabsolute / test-class-moose

Serious testing for serious Perl
http://metacpan.org/release/Test-Class-Moose/
Other
18 stars 32 forks source link

Test::Class::Moose::Report->num_tests_run causing undef warning #83

Closed jplindstrom closed 7 years ago

jplindstrom commented 7 years ago

If there are no tests run, Test::Class::Moose::Report->num_tests_run returns undef because it's using List::Util::num instead of List::Util::num0.

An undef warning is then emitted at Test/Class/Moose/Role/Executor.pm line 66 where the undef from num_tests_run is interpolated in Test::Class::Moose::Role::Executor->runtests.

autarch commented 7 years ago

Thanks for the report! Fixed in v0.88.