1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Shorten long lists of similar versions in problem output, fixes #8743

This commit is contained in:
Jordi Boggiano 2020-04-15 00:58:35 +02:00
parent c1f6f339c2
commit 80a7c40c76
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
8 changed files with 168 additions and 33 deletions

View file

@ -104,6 +104,6 @@ class RuleTest extends TestCase
$rule = new GenericRule(array($p1->getId(), -$p2->getId()), Rule::RULE_PACKAGE_REQUIRES, new Link('baz', 'foo'));
$this->assertEquals('baz 1.1 relates to foo -> satisfiable by foo[2.1].', $rule->getPrettyString($repositorySetMock, $requestMock, $pool));
$this->assertEquals('baz 1.1 relates to foo -> satisfiable by foo[2.1].', $rule->getPrettyString($repositorySetMock, $requestMock, $pool, false));
}
}