From 73f7463539b23779cb315b08bd633ec37e00684c Mon Sep 17 00:00:00 2001 From: aparnajyothi-y <147696841+aparnajyothi-y@users.noreply.github.com> Date: Fri, 28 Jun 2024 17:25:21 +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 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*" } }