]> iEval git - gruntmaster-daemon.git/commitdiff
Fix test failure introduced several commits ago
authorMarius Gavrilescu <marius@ieval.ro>
Sat, 10 Jan 2015 18:39:10 +0000 (20:39 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Sat, 10 Jan 2015 18:39:30 +0000 (20:39 +0200)
t/01-jobs.t

index bb2c4bafccde7a37bd30fc8de88e44f71a708878..5145a7798c2c0d0aab7384db00eccd8a63d05a84 100644 (file)
@@ -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";
This page took 0.0271 seconds and 4 git commands to generate.