File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,8 @@ Describe 'Tests for PSScript resource' {
187
187
$result = dsc resource get - r $resourceType - i $yaml 2> $TestDrive / error.txt | ConvertFrom-Json
188
188
$LASTEXITCODE | Should - Be 0 - Because (Get-Content $TestDrive / error.txt - Raw | Out-String )
189
189
$result.actualState.output.Count | Should - Be 0 - Because ($result | ConvertTo-Json | Out-String )
190
- (Get-Content $TestDrive / error.txt - Raw) | Should - BeLike ' *WARN*:*This is a warning*WARN*:*This is second warning*'
190
+ (Get-Content $TestDrive / error.txt - Raw) | Should - BeLike ' *WARN*:*This is a warning*'
191
+ (Get-Content $TestDrive / error.txt - Raw) | Should - BeLike ' *WARN*:*This is second warning*'
191
192
}
192
193
193
194
It ' Write-Error shows up as error traces for <resourceType>' - TestCases $testCases {
You can’t perform that action at this time.
0 commit comments