From 81b91387632125e45fbf09a558dd0a82876bb409 Mon Sep 17 00:00:00 2001 From: aparnajyothi-y <147696841+aparnajyothi-y@users.noreply.github.com> Date: Fri, 28 Jun 2024 17:17:32 +0530 Subject: [PATCH] Update Go.Tests.ps1 --- tests/Go.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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*" } }