Skip to content

Commit

Permalink
fixed semver
Browse files Browse the repository at this point in the history
  • Loading branch information
ken@arch committed Jun 25, 2022
1 parent 35c3adf commit 89cb58f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/pages/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Change Log
0.5.1
--------
- Removed bugs which throw errors when config.yaml is absent without fallback on environment variables.
- Fixed wrong regex for testing SemVer pattern.

0.5.0
--------
Expand Down
4 changes: 2 additions & 2 deletions tests/test_dvc/test_app/test_cli/test_commands/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def test__version__only_contain_semver():
assert result_1.exit_code == 0

version = result_1.output
semver_regex = r"[0-9]+\.[0-9]+\.[0.9]+"
semver_regex = r"[0-9]+\.[0-9]+\.[0-9]+"
match = re.search(semver_regex, version)

assert match is not None
assert match is not None, version

0 comments on commit 89cb58f

Please sign in to comment.