Skip to content

Commit

Permalink
Revert 794571f, hoping this makes the tests pass on Windows again
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Aug 26, 2020
1 parent d723457 commit 34f20ce
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Util/Log/JUnit.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
*/
namespace PHPUnit\Util\Log;

use const PHP_EOL;
use function class_exists;
use function get_class;
use function method_exists;
Expand Down Expand Up @@ -386,13 +385,13 @@ private function doAddFault(Test $test, Throwable $t, string $type): void
}

if ($test instanceof SelfDescribing) {
$buffer = $test->toString() . PHP_EOL;
$buffer = $test->toString() . "\n";
} else {
$buffer = '';
}

$buffer .= trim(
TestFailure::exceptionToString($t) . PHP_EOL .
TestFailure::exceptionToString($t) . "\n" .
Filter::getFilteredStacktrace($t)
);

Expand Down

0 comments on commit 34f20ce

Please sign in to comment.