File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -320,6 +320,8 @@ Describe 'Tests for PSScript resource' {
320320 $result = dsc - l trace resource get - r $resourceType - i $yaml 2> $TestDrive / error.txt | ConvertFrom-Json
321321 $LASTEXITCODE | Should - Be 0 - Because (Get-Content $TestDrive / error.txt - Raw | Out-String )
322322 $result.actualState.output.Count | Should - Be 0 - Because ($result | ConvertTo-Json | Out-String )
323- (Get-Content $TestDrive / error.txt - Raw) | Should - BeLike ' *WARN*:*This is a warning*INFO*:*This is a host message*INFO*:*This is a verbose message*'
323+ (Get-Content $TestDrive / error.txt - Raw) | Should - BeLike ' *WARN*:*This is a warning*'
324+ (Get-Content $TestDrive / error.txt - Raw) | Should - BeLike ' *INFO*:*This is a host message*'
325+ (Get-Content $TestDrive / error.txt - Raw) | Should - BeLike ' *INFO*:*This is a verbose message*'
324326 }
325327}
You can’t perform that action at this time.
0 commit comments