diff --git a/tests/Go.Tests.ps1 b/tests/Go.Tests.ps1 index e62e384..b176869 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 -Like "$env:VERSION*" + $installedVersion | Should -BeLike "$env:VERSION*" } }