mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Improve error reporting of solver issues, refs #7779
Fixes #8525 Fixes #6513
This commit is contained in:
parent
f611c641db
commit
3fc7e10c5c
34 changed files with 482 additions and 223 deletions
|
@ -323,6 +323,9 @@ class InstallerTest extends TestCase
|
|||
$this->assertSame(rtrim($expect), implode("\n", $installationManager->getTrace()));
|
||||
|
||||
if ($expectOutput) {
|
||||
$output = preg_replace('{^ - .*?\.ini$}m', '__inilist__', $output);
|
||||
$output = preg_replace('{(__inilist__\r?\n)+}', "__inilist__\n", $output);
|
||||
|
||||
$this->assertStringMatchesFormat(rtrim($expectOutput), rtrim($output));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue