diff --git a/tests/Go.Tests.ps1 b/tests/Go.Tests.ps1 index 2b044d6..e62e384 100644 --- a/tests/Go.Tests.ps1 +++ b/tests/Go.Tests.ps1 @@ -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*" } }