Skip to content
Browse files

got rid of END block magick

  • Loading branch information...
1 parent 38061de commit df8d4861c4e3db18e7a84f7aabb3fafae263f884 Xavier Caron committed Mar 27, 2012
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;
}

0 comments on commit df8d486

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