Skip to content

Commit fecc0f5

Browse files
author
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)
committed
add test tracing
1 parent 7eceadb commit fecc0f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

adapters/powershell/Tests/powershellgroup.resource.tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ Describe 'PowerShell adapter resource tests' {
348348
# next executions following shortly after should Not rebuild the cache
349349
1..3 | ForEach-Object {
350350
dsc -l trace resource list -a Microsoft.DSC/PowerShell 2> $TestDrive/tracing.txt
351-
"$TestDrive/tracing.txt" | Should -Not -FileContentMatchExactly 'Constructing Get-DscResource cache'
351+
"$TestDrive/tracing.txt" | Should -Not -FileContentMatchExactly 'Constructing Get-DscResource cache' -Because (Get-Content -Raw -Path "$TestDrive/tracing.txt")
352352
}
353353
}
354354

0 commit comments

Comments
 (0)