diff --git a/test/powershell/Host/PSVersionTable.Tests.ps1 b/test/powershell/Host/PSVersionTable.Tests.ps1 index ea414f1410..4725973a10 100644 --- a/test/powershell/Host/PSVersionTable.Tests.ps1 +++ b/test/powershell/Host/PSVersionTable.Tests.ps1 @@ -20,15 +20,6 @@ Describe "PSVersionTable" { } It "Should have the correct edition" -Skip:(!$IsCore) { - $expected = - if ($IsLinux -Or $IsOSX) { - "Linux" - } elseif ($IsWindows) { - "Core" - } else { - throw [PlatformNotSupportedException] - } - - $PSVersionTable["PSEdition"] | Should Be $expected + $PSVersionTable["PSEdition"] | Should Be "PowerShellCore" } }