Skip to content
Permalink
Browse files

Fix project checker test

  • Loading branch information...
muglug committed May 30, 2019
1 parent 7c069a9 commit f9b509a210f1576bfd0a917ffec8eacc0f33acb4
Showing with 4 additions and 4 deletions.
  1. +4 −4 tests/ProjectCheckerTest.php
@@ -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());
@@ -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());
@@ -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());
@@ -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());

0 comments on commit f9b509a

Please sign in to comment.
You can’t perform that action at this time.