From 064353c9a471b562919d07458ef020a3fab4741d Mon Sep 17 00:00:00 2001 From: Maxim Lobanov Date: Mon, 1 Jun 2020 13:55:39 +0300 Subject: [PATCH] fix regex in tests --- packages-generation/manifest-utils.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages-generation/manifest-utils.Tests.ps1 b/packages-generation/manifest-utils.Tests.ps1 index 8e059a8..83d9ab0 100644 --- a/packages-generation/manifest-utils.Tests.ps1 +++ b/packages-generation/manifest-utils.Tests.ps1 @@ -68,7 +68,7 @@ Describe "Build-VersionsManifest" { @{ name = "python-3.8.3-linux-18.04-x64.tar.gz"; browser_download_url = "fake_url"; } ) $configuration = @{ - regex = "python-\\d+\\.\\d+\\.\\d+-(\\w+)-([\\w\\.]+)?-?(x\\d+)"; + regex = "python-\d+\.\d+\.\d+-(\w+)-([\w\.]+)?-?(x\d+)"; groups = [PSCustomObject]@{ platform = 1; platform_version = 2; arch = "x64"; } } $expectedManifestFiles = @(