mirror of
https://github.com/actions/runner-images.git
synced 2026-01-06 01:59:46 +08:00
Remove \ escape (#6546)
This commit is contained in:
committed by
GitHub
parent
ed945f347e
commit
cdd6e1d724
@@ -49,7 +49,7 @@ Describe "Screen Resolution" {
|
|||||||
|
|
||||||
Describe "Open windows" {
|
Describe "Open windows" {
|
||||||
It "Opened windows not found" {
|
It "Opened windows not found" {
|
||||||
$cmd = "osascript -e 'tell application \""System Events\"" to get every window of (every process whose class of windows contains window)'"
|
$cmd = "osascript -e 'tell application ""System Events"" to get every window of (every process whose class of windows contains window)'"
|
||||||
$openWindows = bash -c $cmd
|
$openWindows = bash -c $cmd
|
||||||
$openWindows.Split(",").Trim() | Where-Object { $_ -notmatch "NotificationCenter" } | Should -BeNullOrEmpty
|
$openWindows.Split(",").Trim() | Where-Object { $_ -notmatch "NotificationCenter" } | Should -BeNullOrEmpty
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user