Skip to content

Commit

Permalink
test: Remove unnecessary usage of the DisplayNormalizer in DiffTest
Browse files Browse the repository at this point in the history
  • Loading branch information
theofidry committed Oct 11, 2023
1 parent 58e3a0a commit f51b0cd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/Console/Command/DiffTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f51b0cd

Please sign in to comment.