mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Rename $IsOSX to $IsMacOS (#4757)
This commit is contained in:
@@ -176,7 +176,7 @@ Categories=Application;
|
||||
}
|
||||
|
||||
It "Should open text file without error" -Skip:(!$supportedEnvironment) {
|
||||
if ($IsOSX) {
|
||||
if ($IsMacOS) {
|
||||
$expectedTitle = Split-Path $TestFile -Leaf
|
||||
open -F -a TextEdit
|
||||
$beforeCount = [int]('tell application "TextEdit" to count of windows' | osascript)
|
||||
|
||||
Reference in New Issue
Block a user