diff --git a/lib/TAP/Formatter/Console/Session.pm b/lib/TAP/Formatter/Console/Session.pm index df17420d..fafb0800 100644 --- a/lib/TAP/Formatter/Console/Session.pm +++ b/lib/TAP/Formatter/Console/Session.pm @@ -124,7 +124,7 @@ sub _closures { # is false - so it's safe to only set them here unless that # relationship changes. - if ( !$plan ) { + if ( !$plan || !$parser->tests_run ) { my $planned = $parser->tests_planned || '?'; $plan = "/$planned "; }