diff --git a/tests/Go.Tests.ps1 b/tests/Go.Tests.ps1 index c20410e..32041d0 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', ' Write-Host $Matches.Version' | Invoke-Expression + $versionOutput = '$(go version) -match "go(?\d+\.\d+\.\d+)" | Out-Null', ' $Matches.Version' | Invoke-Expression $versionOutput | Should -Match $Version }