From: Vincent Pit Date: Tue, 22 Sep 2009 10:28:41 +0000 (+0200) Subject: Fix valgrind option to Test::Valgrind::Session->new X-Git-Tag: v1.10~5 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=f229eb96e8c03a16ac13b617542554b44023c510;p=perl%2Fmodules%2FTest-Valgrind.git Fix valgrind option to Test::Valgrind::Session->new --- diff --git a/lib/Test/Valgrind/Session.pm b/lib/Test/Valgrind/Session.pm index e674eba..47150e1 100644 --- a/lib/Test/Valgrind/Session.pm +++ b/lib/Test/Valgrind/Session.pm @@ -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 {