From c77712677a020e7abf494df46826edfa4989ecfc Mon Sep 17 00:00:00 2001 From: Steve Lee Date: Tue, 27 Feb 2024 12:42:44 -0800 Subject: [PATCH] fix test --- .../NativeExecution/NativeWindowsTildeExpansion.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/powershell/Language/Scripting/NativeExecution/NativeWindowsTildeExpansion.Tests.ps1 b/test/powershell/Language/Scripting/NativeExecution/NativeWindowsTildeExpansion.Tests.ps1 index 8278499cad17d..4c57669f41a84 100644 --- a/test/powershell/Language/Scripting/NativeExecution/NativeWindowsTildeExpansion.Tests.ps1 +++ b/test/powershell/Language/Scripting/NativeExecution/NativeWindowsTildeExpansion.Tests.ps1 @@ -30,6 +30,6 @@ Describe 'Native Windows tilde expansion tests' -tags "CI" { cmd /c echo "~\foo" | Should -BeExactly '~\foo' } It '~ should be expanded with implicit quotes' { - cmd /c echo ~\a` b | Should -BeExactly "`"$($ExecutionContext.SessionState.Provider.Get("FileSystem").Home)\a `"" + cmd /c echo ~\a` b | Should -BeExactly "`"$($ExecutionContext.SessionState.Provider.Get("FileSystem").Home)\a `"b" } }