diff --git a/src/unit/engine/PhpunitResultParser.php b/src/unit/engine/PhpunitResultParser.php index 934c48e0..146ba6d2 100644 --- a/src/unit/engine/PhpunitResultParser.php +++ b/src/unit/engine/PhpunitResultParser.php @@ -62,7 +62,7 @@ final class PhpunitResultParser extends ArcanistBaseTestResultParser { } } - $name = preg_replace('/ \(.*\)/', '', $event->test); + $name = preg_replace('/ \(.*\)/s', '', $event->test); $result = new ArcanistUnitTestResult(); $result->setName($name);