We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23deba9 commit 18f8b1cCopy full SHA for 18f8b1c
dsc/tests/dsc_args.tests.ps1
@@ -292,8 +292,8 @@ resources:
292
}
293
294
It 'Test operation on the adapter itself should fail' {
295
- dsc resource test -r Microsoft.DSC/PowerShell 2> $TestDrive/tracing.txt
296
- $LASTEXITCODE | Should -Be 1
+ 'abc' | dsc resource test -r Microsoft.DSC/PowerShell 2> $TestDrive/tracing.txt
+ $LASTEXITCODE | Should -Be 2
297
"$TestDrive/tracing.txt" | Should -FileContentMatchExactly 'Can not perform this operation on the adapter'
298
299
0 commit comments