Skip to content

Commit 656dfe5

Browse files
committed
Debugging
1 parent 72d7c8d commit 656dfe5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/e2e/ResultCacheEndToEndTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ public function testResultCacheDeleteFile(): void
9898
unlink($serializerPath);
9999

100100
$result = $this->runPhpstan(1);
101-
$this->assertSame(1, $result['totals']['file_errors']);
102-
$this->assertSame(0, $result['totals']['errors']);
101+
$this->assertSame(1, $result['totals']['file_errors'], Json::encode($result));
102+
$this->assertSame(0, $result['totals']['errors'], Json::encode($result));
103103
$this->assertSame('Reflection error: PhpParser\Serializer not found.', $result['files'][__DIR__ . '/PHP-Parser/lib/PhpParser/Serializer/XML.php']['messages'][0]['message']);
104104

105105
file_put_contents($serializerPath, $originalSerializerCode);

0 commit comments

Comments
 (0)