1
0
Fork 0

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

pull/5343/head
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
1 changed files with 12 additions and 0 deletions

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',