From da2f6358db52a309d18c69c3664804daa0b2466a Mon Sep 17 00:00:00 2001 From: Derek DeJonghe Date: Mon, 15 Jun 2020 17:51:05 -0400 Subject: [PATCH] fix assert --- semver/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/semver/tests.py b/semver/tests.py index c24b2c0..382383c 100644 --- a/semver/tests.py +++ b/semver/tests.py @@ -65,12 +65,12 @@ class TestGetVersion(unittest.TestCase): create_git_environment() subprocess.call(['git', 'checkout', '-b', 'patch/branch']) branch = get_version.get_version(version_format='npm') - self.assertEqual(branch, "0.0.0-patch-branch.0") + self.assertEqual(branch, "0.0.1-patch-branch.0") def test_branch_maven_pre_release(self): create_git_environment() subprocess.call(['git', 'checkout', '-b', 'minor/branch']) branch = get_version.get_version(version_format='maven') - self.assertEqual(branch, "0.0.0-minor-branch-SNAPSHOT") + self.assertEqual(branch, "0.1.0-minor-branch-SNAPSHOT") def test_branch_maven_bad_branch(self): create_git_environment() subprocess.call(['git', 'checkout', '-b', 'test/branch'])