Extract fallen case about comparison of rc builds.

This commit is contained in:
Alexander Shorin 2012-02-08 16:54:28 +04:00
parent 39d2e81744
commit ee1919e96d

@ -64,3 +64,6 @@ class TestSemver(TestCase):
self.assertEqual(
compare(high_version, low_version), 1,
'%s should be higher than %s' % (high_version, low_version))
def test_compare_rc_builds(self):
self.assertEqual(compare('1.0.0-beta.2', '1.0.0-beta.11'), -1)