You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dsc -l trace config get -i $configYaml2>$testdrive/error.log |Out-Null
130
+
$LASTEXITCODE| Should -Be 2-Because (Get-Content$testdrive/error.log |Out-String)
131
+
(Get-Content$testdrive/error.log -Raw) | Should -BeLike "*Parameter 'BadParam' not found in context*"-Because (Get-Content$testdrive/error.log |Out-String)
dsc -l trace config get -i $configYaml2>$testdrive/error.log |Out-Null
151
+
$LASTEXITCODE| Should -Be 2-Because (Get-Content$testdrive/error.log |Out-String)
152
+
(Get-Content$testdrive/error.log -Raw) | Should -BeLike "*Output of user function 'MyFunction.BadFunction' did not return expected type 'int'*"-Because (Get-Content$testdrive/error.log |Out-String)
0 commit comments