From 754cbccf56a74b2c06b14a6b02a16aed1b4ad14b Mon Sep 17 00:00:00 2001 From: Dusko Dobranic <101048884+ddobranic@users.noreply.github.com> Date: Fri, 17 Mar 2023 15:53:44 +0100 Subject: [PATCH] [Windows] AWS CLI session manager plugin test fix (#7294) --- images/win/scripts/Tests/CLI.Tools.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/win/scripts/Tests/CLI.Tools.Tests.ps1 b/images/win/scripts/Tests/CLI.Tools.Tests.ps1 index c508c4d72..cbf5d38c6 100644 --- a/images/win/scripts/Tests/CLI.Tools.Tests.ps1 +++ b/images/win/scripts/Tests/CLI.Tools.Tests.ps1 @@ -24,7 +24,7 @@ Describe "AWS" { } It "Session Manager Plugin for the AWS CLI" { - session-manager-plugin | Out-String | Should -Match "plugin was installed successfully" + @(session-manager-plugin) -Match '\S' | Out-String | Should -Match "plugin was installed successfully" } It "AWS SAM CLI" {