File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,12 @@ Describe 'Tests for listing resources' {
17
17
}
18
18
19
19
It ' dsc resource list --tags "<tags>" and --description "<description> work' - TestCases @ (
20
- @ { tags = ' linux' ; description = $null ; expectedCount = 2 ; expectedType = @ (' DSC.PackageManagement/Apt' , ' Microsoft/OSInfo' ) }
20
+ if ($IsLinux ) {
21
+ @ { tags = ' linux' ; description = $null ; expectedCount = 2 ; expectedType = @ (' DSC.PackageManagement/Apt' , ' Microsoft/OSInfo' ) }
22
+ }
23
+ else {
24
+ @ { tags = ' linux' ; description = $null ; expectedCount = 1 ; expectedType = ' Microsoft/OSInfo' }
25
+ }
21
26
@ { tags = $null ; description = ' operating system' ; expectedCount = 1 ; expectedType = ' Microsoft/OSInfo' }
22
27
@ { tags = ' linux' ; description = ' operating system' ; expectedCount = 1 ; expectedType = ' Microsoft/OSInfo' }
23
28
@ { tags = ' notfound' ; description = ' operating system' ; expectedCount = 0 ; expectedType = $null }
You can’t perform that action at this time.
0 commit comments