We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7eceadb commit fecc0f5Copy full SHA for fecc0f5
1 file changed
adapters/powershell/Tests/powershellgroup.resource.tests.ps1
@@ -348,7 +348,7 @@ Describe 'PowerShell adapter resource tests' {
348
# next executions following shortly after should Not rebuild the cache
349
1..3 | ForEach-Object {
350
dsc -l trace resource list -a Microsoft.DSC/PowerShell 2> $TestDrive/tracing.txt
351
- "$TestDrive/tracing.txt" | Should -Not -FileContentMatchExactly 'Constructing Get-DscResource cache'
+ "$TestDrive/tracing.txt" | Should -Not -FileContentMatchExactly 'Constructing Get-DscResource cache' -Because (Get-Content -Raw -Path "$TestDrive/tracing.txt")
352
}
353
354
0 commit comments