diff --git a/tests/Console/Command/DiffTest.php b/tests/Console/Command/DiffTest.php index 9091f05af..db30a9a7b 100644 --- a/tests/Console/Command/DiffTest.php +++ b/tests/Console/Command/DiffTest.php @@ -75,9 +75,7 @@ public function test_it_can_display_the_diff_of_two_phar_files( ], ); - $actualOutput = DisplayNormalizer::removeTrailingSpaces( - $this->commandTester->getDisplay(true), - ); + $actualOutput = $this->commandTester->getNormalizedDisplay(); if (null !== $expectedOutput) { self::assertSame($expectedOutput, $actualOutput);