mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-29 10:12:41 +01:00
Allow tests to be executed in the root library directory
See: <https://github.com/facebook/arcanist/pull/135> Reviewed by: epriestley
This commit is contained in:
parent
488b8e365a
commit
90a5a8512e
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ final class PhutilUnitTestEngine extends ArcanistBaseUnitTestEngine {
|
|||
|
||||
$run_tests = array();
|
||||
foreach ($symbols as $symbol) {
|
||||
if (!preg_match('@/__tests__/@', $symbol['where'])) {
|
||||
if (!preg_match('@(?:^|/)__tests__/@', $symbol['where'])) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue