From 6f5ab3ed5c104e4258f6185aa9dc79e2ffeeea1d Mon Sep 17 00:00:00 2001 From: Christian Riesen Date: Mon, 25 Feb 2013 16:51:01 +0100 Subject: [PATCH] Add other valid versions to test for stability --- tests/Composer/Test/Package/Version/VersionParserTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/Composer/Test/Package/Version/VersionParserTest.php b/tests/Composer/Test/Package/Version/VersionParserTest.php index 139cee02a..7bf366d26 100644 --- a/tests/Composer/Test/Package/Version/VersionParserTest.php +++ b/tests/Composer/Test/Package/Version/VersionParserTest.php @@ -319,7 +319,10 @@ class VersionParserTest extends \PHPUnit_Framework_TestCase public function stabilityProvider() { return array( + array('stable', '1'), array('stable', '1.0'), + array('stable', '3.2.1'), + array('stable', 'v3.2.1'), array('dev', 'v2.0.x-dev'), array('dev', 'v2.0.x-dev#abc123'), array('dev', 'v2.0.x-dev#trunk/@123'),