Skip to content

Commit fb15f2a

Browse files
committed
update test
1 parent d2f18fa commit fb15f2a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ Describe 'PowerShell adapter resource tests' {
126126
$res.resources[0].properties.result.count | Should -Be 1
127127
$res.resources[0].properties.result[0].Name | Should -Be "FilteredExport"
128128
$res.resources[0].properties.result[0].Prop1 | Should -Be "Filtered Property for FilteredExport"
129-
"$TestDrive/export_trace.txt" | Should -FileContentMatch "Properties provided for filtered export" -Because (Get-Content -Raw -Path $TestDrive/export_trace.txt)
129+
$traceLog = Get-Content -Raw -Path "$TestDrive/export_trace.txt"
130+
$traceLog | Should -BeLike "*Properties provided for filtered export*" -Because $traceLog
130131
}
131132

132133
It 'Export fails when filtered export is requested but not implemented' {

0 commit comments

Comments
 (0)