Skip to content

Commit

Permalink
Unique depends value
Browse files Browse the repository at this point in the history
  • Loading branch information
joelwurtz committed Oct 13, 2021
1 parent a7d225c commit 99681ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Output/OutputOrder.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function __destruct()
if (\count($depends) > 0) {
$dependsStr = " depends on " . join(", ", array_map(function ($i) {
return "#" . $i;
}, $depends));
}, array_unique($depends)));
}

fwrite(STDOUT, " - #".$index . ' ' . $test->getDisplayName() . $dependsStr . "\n");
Expand All @@ -62,4 +62,4 @@ public function createDepends(Test $test, array $orders = []): array

return $depends;
}
}
}

0 comments on commit 99681ac

Please sign in to comment.