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

Enhancement: Assert that no warning is issued when using exact version constraint for unstable package

This commit is contained in:
Andreas Möller 2016-05-15 22:15:48 +02:00
parent 8f0324f51e
commit a3b49ae44f
No known key found for this signature in database
GPG key ID: 9FB20A0BAF60E11F

View file

@ -326,6 +326,18 @@ class ValidatingArrayLoaderTest extends \PHPUnit_Framework_TestCase
),
false,
),
array(
array(
'name' => 'foo/bar',
'require' => array(
'bar/unstable' => '0.3.0',
),
),
array(
// using an exact version constraint for an unstable version should not trigger a warning
),
false,
),
array(
array(
'name' => 'foo/bar',