Skip to content
This repository
Browse code

Get coverage on test files during self coverage.

  • Loading branch information...
commit 0d47f8dec27669792816567f086d3cc4d8b299d9 1 parent 1ffb5c3
Paul Johnson authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/Devel/Cover.pm
2  lib/Devel/Cover.pm
@@ -320,7 +320,7 @@ sub import
320 320 {
321 321 eval "use blib";
322 322 for (@INC) { $_ = $1 if /(.*)/ } # Die tainting.
323   - push @Ignore, "^t/", '\\.t$', '^test\\.pl$';
  323 + push @Ignore, "^t/", '\\.t$', '^test\\.pl$' unless $Self_cover;
324 324 }
325 325
326 326 my $ci = $^O eq "MSWin32";

0 comments on commit 0d47f8d

Please sign in to comment.
Something went wrong with that request. Please try again.