mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 13:51:54 +01:00
Update assertion to reflect a new output
It reverts 588d9e08bc (diff-1ef46093f20172c4dc1cbe5a54e5b60c255082acd3f7c382dae621d8d23df404R172)
This commit is contained in:
parent
e784128902
commit
7526d60f2a
@ -168,7 +168,7 @@ class PsalmEndToEndTest extends TestCase
|
|||||||
$this->assertStringContainsString('InvalidReturnType', $result['STDOUT']);
|
$this->assertStringContainsString('InvalidReturnType', $result['STDOUT']);
|
||||||
$this->assertStringContainsString('InvalidReturnStatement', $result['STDOUT']);
|
$this->assertStringContainsString('InvalidReturnStatement', $result['STDOUT']);
|
||||||
$this->assertStringContainsString('3 errors', $result['STDOUT']);
|
$this->assertStringContainsString('3 errors', $result['STDOUT']);
|
||||||
$this->assertEquals(1, substr_count($result['STDERR'], 'E')); // Should only have 'E' from 'Extensions' in version message
|
$this->assertStringNotContainsString('E', $result['STDERR']);
|
||||||
|
|
||||||
$this->assertSame(2, $result['CODE']);
|
$this->assertSame(2, $result['CODE']);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user