Extract fallen case about comparison of rc builds.
This commit is contained in:
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user