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 72bb968 commit 21f0f35Copy full SHA for 21f0f35
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