Update Go.Tests.ps1
This commit is contained in:
parent
81b9138763
commit
73f7463539
@ -58,7 +58,7 @@ Describe "Go" {
|
|||||||
# Check if the installed version of Go is the expected version
|
# Check if the installed version of Go is the expected version
|
||||||
$installedVersion = $goVersion -split " " | Select-Object -Index 2
|
$installedVersion = $goVersion -split " " | Select-Object -Index 2
|
||||||
$installedVersion = $installedVersion -replace "go", "" -replace "v", ""
|
$installedVersion = $installedVersion -replace "go", "" -replace "v", ""
|
||||||
$installedVersion | Should -Like "$env:VERSION*"
|
$installedVersion | Should -BeLike "$env:VERSION*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user