Skip to content

Commit 571abbd

Browse files
Merge branch '12.3'
2 parents 7730b3e + d85d5d0 commit 571abbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/TextUI/Output/TestDox/ResultPrinter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,8 @@ private function printThrowable(TestStatus $status, Throwable $throwable): void
241241
$this->printer->print(PHP_EOL);
242242
}
243243

244-
if (!empty($stackTrace)) {
245-
if (!empty($message) || !empty($diff)) {
244+
if ($stackTrace !== '') {
245+
if ($message !== '' || $diff !== '') {
246246
$tracePrefix = $this->prefixFor('default', $status);
247247
} else {
248248
$tracePrefix = $this->prefixFor('trace', $status);

0 commit comments

Comments
 (0)