From 5437100f084462aeb76c7fe2bfb64168208b0e35 Mon Sep 17 00:00:00 2001 From: lilydjwg Date: Wed, 6 Mar 2019 22:45:23 +0800 Subject: [PATCH] fix github test --- tests/test_github.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_github.py b/tests/test_github.py index b13a864..518e04e 100644 --- a/tests/test_github.py +++ b/tests/test_github.py @@ -36,9 +36,9 @@ async def test_github_max_tag_with_include_old(get_version): version = await get_version("example", { "github": "EFForg/https-everywhere", "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): version = await get_version("example", {