From 3c2f8d70b451492c3e34c5ccd857f4065a4efad6 Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Mon, 1 Jun 2020 13:26:07 +0300 Subject: [PATCH] use new regex for python --- 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 83d9ab0..8e059a8 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 = @(