Skip to content

Commit

Permalink
Fix project checker test
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed May 30, 2019
1 parent 7c069a9 commit f9b509a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/ProjectCheckerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function testCheck()
$this->project_analyzer->check('tests/fixtures/DummyProject');
$output = ob_get_clean();

$this->assertSame('Scanning files...' . "\n" . 'Analyzing files...' . "\n", $output);
$this->assertSame('Scanning files...' . "\n" . 'Analyzing files...' . "\n\n", $output);

$this->assertSame(0, \Psalm\IssueBuffer::getErrorCount());

Expand Down Expand Up @@ -275,7 +275,7 @@ public function testCheckDir()
$this->project_analyzer->checkDir('tests/fixtures/DummyProject');
$output = ob_get_clean();

$this->assertSame('Scanning files...' . "\n" . 'Analyzing files...' . "\n", $output);
$this->assertSame('Scanning files...' . "\n" . 'Analyzing files...' . "\n\n", $output);

$this->assertSame(0, \Psalm\IssueBuffer::getErrorCount());

Expand Down Expand Up @@ -310,7 +310,7 @@ public function testCheckPaths()
$this->project_analyzer->checkPaths(['tests/fixtures/DummyProject/Bar.php']);
$output = ob_get_clean();

$this->assertSame('Scanning files...' . "\n" . 'Analyzing files...' . "\n", $output);
$this->assertSame('Scanning files...' . "\n" . 'Analyzing files...' . "\n\n", $output);

$this->assertSame(0, \Psalm\IssueBuffer::getErrorCount());

Expand Down Expand Up @@ -345,7 +345,7 @@ public function testCheckFile()
$this->project_analyzer->checkFile('tests/fixtures/DummyProject/Bar.php');
$output = ob_get_clean();

$this->assertSame('Scanning files...' . "\n" . 'Analyzing files...' . "\n", $output);
$this->assertSame('Scanning files...' . "\n" . 'Analyzing files...' . "\n\n", $output);

$this->assertSame(0, \Psalm\IssueBuffer::getErrorCount());

Expand Down

0 comments on commit f9b509a

Please sign in to comment.