function SemVerTest::testMinimizeConstraintsWhichAreNotSubsets
Tests minimize constraints which are not subsets.
@legacy-covers ::minimizeConstraints
Attributes
#[TestWith([
"^6.1 || ^4.0",
"^6.3 || ^7.4",
">=6.3.0.0-dev, <7.0.0.0-dev",
])]
File
-
core/
tests/ Drupal/ Tests/ Composer/ Plugin/ Unpack/ SemVerTest.php, line 40
Class
Namespace
Drupal\Tests\Composer\Plugin\UnpackCode
public function testMinimizeConstraintsWhichAreNotSubsets(string $constraint_a, string $constraint_b, string $expected) : void {
$this->assertSame($expected, SemVer::minimizeConstraints(new VersionParser(), $constraint_a, $constraint_b));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.