File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ Describe 'Extension Manifests' {
55 It ' Extension manifests with condition: <condition>' - TestCases @ (
66 @ { condition = " [equals(1, 1)]" ; shouldBeFound = $true }
77 @ { condition = " [equals(1, 0)]" ; shouldBeFound = $false }
8+ @ { condition = " [equals(context().os.family,'macOS')]" ; shouldBeFound = $IsMacOS }
9+ @ { condition = " [equals(context().os.family,'Linux')]" ; shouldBeFound = $IsLinux }
10+ @ { condition = " [equals(context().os.family,'Windows')]" ; shouldBeFound = $IsWindows }
811 ) {
912 param ($condition , $shouldBeFound )
1013
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ Describe 'Resource Manifests' {
55 It ' Resource manifests with condition: <condition>' - TestCases @ (
66 @ { condition = " [equals(1, 1)]" ; shouldBeFound = $true }
77 @ { condition = " [equals(1, 0)]" ; shouldBeFound = $false }
8+ @ { condition = " [equals(context().os.family,'macOS')]" ; shouldBeFound = $IsMacOS }
9+ @ { condition = " [equals(context().os.family,'Linux')]" ; shouldBeFound = $IsLinux }
10+ @ { condition = " [equals(context().os.family,'Windows')]" ; shouldBeFound = $IsWindows }
811 ) {
912 param ($condition , $shouldBeFound )
1013
You can’t perform that action at this time.
0 commit comments