Skip to content

Commit 89139f3

Browse files
committed
Fix test
1 parent c698b68 commit 89139f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

powershell-adapter/Tests/powershellgroup.config.tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ Describe 'PowerShell adapter resource tests' {
4545
- name: Class-resource Info
4646
type: TestClassResourceNotExist/TestClassResourceNotExist
4747
'@
48-
$yaml | dsc -l trace config get -f - 2> $TestDrive/tracing.txt
48+
$yaml | dsc -l trace config get -f - 2> "$TestDrive/tracing.txt"
4949
$LASTEXITCODE | Should -Be 2
50-
"$TestDrive/tracing.txt" | Should -FileContentMatch 'ERROR: DSC resource TestClassResourceNotExist/TestClassResourceNotExist module not found.'
50+
"$TestDrive/tracing.txt" | Should -FileContentMatch 'DSC resource TestClassResourceNotExist/TestClassResourceNotExist module not found.'
5151
}
5252

5353
It 'Test works on config with class-based resources' {

0 commit comments

Comments
 (0)