Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

got rid of END block magick

  • Loading branch information...
commit df8d4861c4e3db18e7a84f7aabb3fafae263f884 1 parent 38061de
Xavier Caron authored
Showing with 3 additions and 1 deletion.
  1. +2 −0  lib/Devel/Cover/Test.pm
  2. +1 −1  utils/create_gold
View
2  lib/Devel/Cover/Test.pm
@@ -346,6 +346,8 @@ sub run_test
$self->run_cover unless $self->{no_report};
$self->{end}->() if $self->{end};
+
+ $self
}
sub run_cover
View
2  utils/create_gold
@@ -48,5 +48,5 @@ for my $test (@tests)
$test;
print STDERR "creating golden results for $test\n";
require $t or die "Can't require $t: $!";
- Devel::Cover::Test::test->create_gold;
+ Devel::Cover::Test->new($test)->create_gold;
}
Please sign in to comment.
Something went wrong with that request. Please try again.