mirror of
https://github.com/composer/composer
synced 2025-05-09 16:42:57 +00:00
Prevent seeing dev versions as equal when they are not, fixes #848
This commit is contained in:
parent
37ef2037cf
commit
2f7130200a
3 changed files with 8 additions and 1 deletions
|
@ -33,6 +33,7 @@ class VersionConstraintTest extends \PHPUnit_Framework_TestCase
|
|||
array('!=', '1', '<=', '1'),
|
||||
array('!=', '1', '>', '1'),
|
||||
array('!=', '1', '>=', '1'),
|
||||
array('==', 'dev-foo-bar', '==', 'dev-foo-bar'),
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -61,6 +62,7 @@ class VersionConstraintTest extends \PHPUnit_Framework_TestCase
|
|||
array('==', '2', '<', '2'),
|
||||
array('!=', '1', '==', '1'),
|
||||
array('==', '1', '!=', '1'),
|
||||
array('==', 'dev-foo-dist', '==', 'dev-foo-zist'),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue