KEMBAR78
WindowStyle <WindowStyle> tests in `ConsoleHost.Tests` failing · Issue #26123 · PowerShell/PowerShell · GitHub
Skip to content

WindowStyle <WindowStyle> tests in ConsoleHost.Tests failing #26123

@xtqqczze

Description

@xtqqczze

Windows Elevated Others:

  Error: Description: -WindowStyle Normal should work on Windows
  Name:        WindowStyle argument.-WindowStyle Normal should work on Windows
  message:
  Expected exactly 'Normal', but got Hidden.
  stack-trace:
  at <ScriptBlock>, D:\a\PowerShell\PowerShell\test\powershell\Host\ConsoleHost.Tests.ps1: line 1044
  1044:             $showCmd | Should -BeExactly $WindowStyle
  
  Error: Description: -WindowStyle Minimized should work on Windows
  Name:        WindowStyle argument.-WindowStyle Minimized should work on Windows
  message:
  Expected exactly 'Minimized', but got Hidden.
  stack-trace:
  at <ScriptBlock>, D:\a\PowerShell\PowerShell\test\powershell\Host\ConsoleHost.Tests.ps1: line 1044
  1044:             $showCmd | Should -BeExactly $WindowStyle
  
  Error: Description: -WindowStyle Maximized should work on Windows
  Name:        WindowStyle argument.-WindowStyle Maximized should work on Windows
  message:
  Expected exactly 'Maximized', but got Hidden.
  stack-trace:
  at <ScriptBlock>, D:\a\PowerShell\PowerShell\test\powershell\Host\ConsoleHost.Tests.ps1: line 1044
  1044:             $showCmd | Should -BeExactly $WindowStyle

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Metaan issue used to track multiple issuesNeeds-TriageThe issue is new and needs to be triaged by a work group.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions