treewide: update split calls to make perlcritic happy
In nixpkgs this started to fail the hydra tests. It's not completely clear why because it seems the perlcritic rule has existed for quite some time. Anyway, this should solve the issues.
This commit is contained in:
@@ -109,7 +109,7 @@ subtest "Build: not substitutable, unsubstitutable" => sub {
|
||||
subtest "Second notification: step_finished" => sub {
|
||||
my ($channelName, $pid, $payload) = @{$dbh->func("pg_notifies")};
|
||||
is($channelName, "step_finished", "The event is for the step finishing");
|
||||
my ($buildId, $stepNr, $logFile) = split "\t", $payload;
|
||||
my ($buildId, $stepNr, $logFile) = split /\t/, $payload;
|
||||
is($buildId, $build->id, "The payload is the build's ID");
|
||||
is($stepNr, 1, "The payload is the build's step number");
|
||||
isnt($logFile, undef, "The log file is passed");
|
||||
|
||||
Reference in New Issue
Block a user