mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Basic handling of stability flags
This commit is contained in:
parent
1aaae5284b
commit
ef28f3b067
6 changed files with 109 additions and 32 deletions
|
@ -106,6 +106,12 @@ class VersionParserTest extends \PHPUnit_Framework_TestCase
|
|||
);
|
||||
}
|
||||
|
||||
public function testParseConstraintsIgnoresStabilityFlag()
|
||||
{
|
||||
$parser = new VersionParser;
|
||||
$this->assertSame((string) new VersionConstraint('=', '1.0.0.0'), (string) $parser->parseConstraints('1.0@dev'));
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider simpleConstraints
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue