We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c698b68 commit 89139f3Copy full SHA for 89139f3
powershell-adapter/Tests/powershellgroup.config.tests.ps1
@@ -45,9 +45,9 @@ Describe 'PowerShell adapter resource tests' {
45
- name: Class-resource Info
46
type: TestClassResourceNotExist/TestClassResourceNotExist
47
'@
48
- $yaml | dsc -l trace config get -f - 2> $TestDrive/tracing.txt
+ $yaml | dsc -l trace config get -f - 2> "$TestDrive/tracing.txt"
49
$LASTEXITCODE | Should -Be 2
50
- "$TestDrive/tracing.txt" | Should -FileContentMatch 'ERROR: DSC resource TestClassResourceNotExist/TestClassResourceNotExist module not found.'
+ "$TestDrive/tracing.txt" | Should -FileContentMatch 'DSC resource TestClassResourceNotExist/TestClassResourceNotExist module not found.'
51
}
52
53
It 'Test works on config with class-based resources' {
0 commit comments