1
0
Fork 0
mirror of https://github.com/actions/go-versions synced 2024-11-09 15:12:38 +00:00

Update Go.Tests.ps1

This commit is contained in:
aparnajyothi-y 2024-06-28 17:25:21 +05:30 committed by GitHub
parent 81b9138763
commit 73f7463539
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -58,7 +58,7 @@ Describe "Go" {
# Check if the installed version of Go is the expected version
$installedVersion = $goVersion -split " " | Select-Object -Index 2
$installedVersion = $installedVersion -replace "go", "" -replace "v", ""
$installedVersion | Should -Like "$env:VERSION*"
$installedVersion | Should -BeLike "$env:VERSION*"
}
}