From f51b0cdfa23f00f2afaf180d5b5746ab4419c497 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20FIDRY?= Date: Wed, 11 Oct 2023 15:27:00 +0200 Subject: [PATCH] test: Remove unnecessary usage of the DisplayNormalizer in DiffTest --- tests/Console/Command/DiffTest.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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);