Skip to content

Commit ca37d7f

Browse files
staabmsebastianbergmann
authored andcommitted
Cleanup no longer necessary assert
1 parent d019766 commit ca37d7f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/TextUI/Output/TestDox/ResultPrinter.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,6 @@ private function printTestResultBodyEnd(TestDoxTestResult $test): void
209209

210210
private function printThrowable(TestStatus $status, Throwable $throwable): void
211211
{
212-
assert($throwable instanceof Throwable);
213-
214212
$message = trim($throwable->description());
215213
$stackTrace = $this->formatStackTrace($throwable->stackTrace());
216214
$diff = '';

0 commit comments

Comments
 (0)