updated "version is correct" test

pull/10/head^2
Nikita Bykov 5 years ago
parent 484f52594b
commit 934ec78fc8

@ -24,8 +24,7 @@ Describe "Go" {
}
It "version is correct" {
$(go version) -match "go(?<version>\d+\.\d+\.\d+)" | Out-Null
$versionOutput = $Matches.Version
$versionOutput = '$(go version) -match "go(?<version>\d+\.\d+\.\d+)" | Out-Null', ' Write-Host $Matches.Version' | Invoke-Expression
$versionOutput | Should -Match $Version
}

Loading…
Cancel
Save