From e3823907bfda556b72ab031ba972426cce32121b Mon Sep 17 00:00:00 2001 From: Tomas Prochazka Date: Wed, 15 Nov 2017 18:44:02 +0100 Subject: [PATCH] Fixed tests on Windows - use correct line ending --- src/test/php/PDepend/TextUI/CommandTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/php/PDepend/TextUI/CommandTest.php b/src/test/php/PDepend/TextUI/CommandTest.php index 06e063c65c..e48d94802c 100644 --- a/src/test/php/PDepend/TextUI/CommandTest.php +++ b/src/test/php/PDepend/TextUI/CommandTest.php @@ -69,7 +69,7 @@ class CommandTest extends AbstractTest * * @var string */ - private $usageOutput = "Usage: pdepend [options] [logger] \n\n"; + private $usageOutput = 'Usage: pdepend [options] [logger] ' . PHP_EOL . PHP_EOL; protected function setUp() { @@ -77,7 +77,7 @@ protected function setUp() $data = @parse_ini_file(__DIR__ . '/../../../../../build.properties'); - $this->versionOutput = sprintf("PDepend %s\n\n", $data['project.version']); + $this->versionOutput = sprintf('PDepend %s%s%s', $data['project.version'], PHP_EOL, PHP_EOL); } /**