diff --git a/tests/semver_test.py b/tests/semver_test.py index f951685..a06c089 100644 --- a/tests/semver_test.py +++ b/tests/semver_test.py @@ -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)