1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-12-23 14:00:55 +01:00

Use array_mergev() in Phutil test engine

Test Plan: This diff.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3491
This commit is contained in:
vrana 2012-09-13 13:07:27 -07:00
parent f5bb4177c3
commit fefa9e2d72

View file

@ -131,11 +131,7 @@ final class PhutilUnitTestEngine extends ArcanistBaseUnitTestEngine {
$results[] = $test_case->run();
}
if ($results) {
$results = call_user_func_array('array_merge', $results);
}
$results = array_mergev($results);
return $results;
}