Update Go.Tests.ps1

This commit is contained in:
aparnajyothi-y 2024-06-28 17:17:32 +05:30 committed by GitHub
parent d0e62ec3da
commit 81b9138763
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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 -Match $env:VERSION
$installedVersion | Should -Like "$env:VERSION*"
}
}