fix github test

This commit is contained in:
lilydjwg 2019-03-06 22:45:23 +08:00
parent ca68c44201
commit 5437100f08
1 changed files with 2 additions and 2 deletions

View File

@ -36,9 +36,9 @@ async def test_github_max_tag_with_include_old(get_version):
version = await get_version("example", { version = await get_version("example", {
"github": "EFForg/https-everywhere", "github": "EFForg/https-everywhere",
"use_max_tag": 1, "use_max_tag": 1,
"include_tags_pattern": r"^\d", "include_tags_pattern": r"^chrome-\d",
}) })
assert re.match(r'[\d.]+', version) assert re.match(r'chrome-[\d.]+', version)
async def test_github_max_tag_with_include(get_version): async def test_github_max_tag_with_include(get_version):
version = await get_version("example", { version = await get_version("example", {