Skip to content

Commit c1d10df

Browse files
committed
Add '-because'
1 parent 07f04ea commit c1d10df

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/powershell/Host/ConsoleHost.Tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,7 @@ public enum ShowWindowCommands : int
10211021
$global:PSDefaultParameterValues = $defaultParamValues
10221022
}
10231023

1024-
It "-WindowStyle <WindowStyle> should work on Windows" -Pending -TestCases @(
1024+
It "-WindowStyle <WindowStyle> should work on Windows" -Pending -Because 'Start failing in CIs since 9/26/25' -TestCases @(
10251025
@{WindowStyle="Normal"},
10261026
@{WindowStyle="Minimized"},
10271027
@{WindowStyle="Maximized"} # hidden doesn't work in CI/Server Core
@@ -1047,7 +1047,7 @@ public enum ShowWindowCommands : int
10471047
}
10481048
}
10491049

1050-
It "Invalid -WindowStyle returns error" -Pending {
1050+
It "Invalid -WindowStyle returns error" {
10511051
& $powershell -WindowStyle invalid
10521052
$LASTEXITCODE | Should -Be $ExitCodeBadCommandLineParameter
10531053
}

0 commit comments

Comments
 (0)