improve Test file message

This commit is contained in:
TomasVotruba 2017-11-02 16:14:05 +01:00
parent 250d0bad7c
commit 9a61cb23e9

View File

@ -38,7 +38,10 @@ abstract class AbstractRectorTestCase extends TestCase
$this->getRectorClasses()
);
$this->assertStringEqualsFile($reconstructedFile, $reconstructedFileContent);
$this->assertStringEqualsFile($reconstructedFile, $reconstructedFileContent, sprintf(
'Original file "%s" did not match the result.',
$file
));
}
/**