]> git.vpit.fr Git - perl/modules/Test-Valgrind.git/commitdiff
Fix valgrind option to Test::Valgrind::Session->new
authorVincent Pit <vince@profvince.com>
Tue, 22 Sep 2009 10:28:41 +0000 (12:28 +0200)
committerVincent Pit <vince@profvince.com>
Tue, 22 Sep 2009 10:28:41 +0000 (12:28 +0200)
lib/Test/Valgrind/Session.pm

index e674ebab58a6957c4fe4c7bd0687cf95c62ac9e7..47150e1a86208ab0fdb6bb1daa6d629399c7d23f 100644 (file)
@@ -83,7 +83,7 @@ sub new {
  my %args = @_;
 
  my @paths;
- my $vg = delete $args{vg};
+ my $vg = delete $args{valgrind};
  if (defined $vg and not ref $vg) {
   @paths = ($vg);
  } else {