1
0
Fork 0

Add additional test for beta without dash separator support, fixes #3331

pull/3320/head
Jordi Boggiano 2014-10-06 12:41:54 +01:00
parent 6c0afd3fc0
commit 95d49ce638
1 changed files with 1 additions and 0 deletions

View File

@ -89,6 +89,7 @@ class VersionParserTest extends \PHPUnit_Framework_TestCase
'forces w.x.y.z' => array('1.0-dev', '1.0.0.0-dev'),
'forces w.x.y.z/2' => array('0', '0.0.0.0'),
'parses long' => array('10.4.13-beta', '10.4.13.0-beta'),
'parses long/2' => array('10.4.13beta2', '10.4.13.0-beta2'),
'expand shorthand' => array('10.4.13-b', '10.4.13.0-beta'),
'expand shorthand2' => array('10.4.13-b5', '10.4.13.0-beta5'),
'strips leading v' => array('v1.0.0', '1.0.0.0'),