From 01def397b3dee13b4ca0133851f42fa24acc12e0 Mon Sep 17 00:00:00 2001 From: Nikita Bykov Date: Mon, 24 Aug 2020 19:05:27 +0300 Subject: [PATCH] fixed tests --- tests/Go.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Go.Tests.ps1 b/tests/Go.Tests.ps1 index 3aa1a51..a11fd73 100644 --- a/tests/Go.Tests.ps1 +++ b/tests/Go.Tests.ps1 @@ -24,7 +24,7 @@ Describe "Go" { } It "version is correct" { - $versionOutput = '$(go version) -match "go(?\d+\.\d+\.\d+)" | Out-Null', '$Matches.Version' | Invoke-Expression + $versionOutput = Invoke-Expression "go version" $versionOutput | Should -Match $Version }