Skip to content

Commit

Permalink
Fixed tests on Windows - use correct line ending
Browse files Browse the repository at this point in the history
  • Loading branch information
KacerCZ authored and emirb committed Nov 20, 2017
1 parent 12a229d commit e382390
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/php/PDepend/TextUI/CommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ class CommandTest extends AbstractTest
*
* @var string
*/
private $usageOutput = "Usage: pdepend [options] [logger] <dir[,dir[,...]]>\n\n";
private $usageOutput = 'Usage: pdepend [options] [logger] <dir[,dir[,...]]>' . PHP_EOL . PHP_EOL;

protected function setUp()
{
parent::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);
}

/**
Expand Down

0 comments on commit e382390

Please sign in to comment.