Skip to content

Commit e98fb16

Browse files
author
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)
committed
fix test
1 parent ab18d5c commit e98fb16

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

dsc/tests/dsc_group.tests.ps1

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,16 @@ Describe 'Group resource tests' {
55
It 'Nested groups should work for get' {
66
$out = (dsc config get -p $PSScriptRoot/../examples/groups.dsc.yaml -f yaml | Out-String).Trim()
77
$LASTEXITCODE | Should -Be 0
8-
$out | Should -BeExactly @'
8+
$out | Should -BeLike @'
9+
metadata:
10+
Microsoft.DSC:
11+
version: 3*
12+
operation: Get
13+
executionType: Actual
14+
startDatetime: *
15+
endDatetime: *
16+
duration: PT*S
17+
securityContext: Restricted
918
results:
1019
- name: First Group
1120
type: Microsoft.DSC/Group
@@ -36,7 +45,7 @@ results:
3645
result:
3746
actualState:
3847
output: Last
39-
messages: []
48+
messages: `[`]
4049
hadErrors: false
4150
'@
4251
}

0 commit comments

Comments
 (0)