From: Marius Gavrilescu Date: Sat, 10 Jan 2015 18:39:10 +0000 (+0200) Subject: Fix test failure introduced several commits ago X-Git-Tag: 5999.000_005~105 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=561871777e659371360d00b15de892d07eb428ea;p=gruntmaster-daemon.git Fix test failure introduced several commits ago --- diff --git a/t/01-jobs.t b/t/01-jobs.t index bb2c4ba..5145a77 100644 --- a/t/01-jobs.t +++ b/t/01-jobs.t @@ -32,7 +32,7 @@ $ENV{PATH}.=':' . cwd; sub check_job{ my $meta = shift; if (defined $meta->{results}) { - delete $meta->{results}[$_]{time} for keys %{$meta->{results}}; + delete $meta->{results}[$_]{time} for keys @{$meta->{results}}; } is $meta->{result}, $meta->{expected_result}, "Result is correct"; is $meta->{result_text}, $meta->{expected_result_text}, "Result text is correct";