From d722e7f2359681bdcc3bfedee2d4fda5ccd68abb Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Thu, 14 Jan 2021 12:55:44 +0100 Subject: [PATCH] fix test-expectation --- tests/Console/Command/ListFilesCommandTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Console/Command/ListFilesCommandTest.php b/tests/Console/Command/ListFilesCommandTest.php index 88e419079e9..44ceb5e67a7 100644 --- a/tests/Console/Command/ListFilesCommandTest.php +++ b/tests/Console/Command/ListFilesCommandTest.php @@ -30,7 +30,7 @@ public function testListWithConfig() $commandTester = $this->doTestExecute([ '--config' => __DIR__.'/test-project/.php_cs' ]); - $this->assertSame('"needs-fixing.php"', $commandTester->getDisplay()); + $this->assertSame(escapeshellarg('needs-fixing.php').PHP_EOL, $commandTester->getDisplay()); } /**