Disable Set-PSDebug tests on AppVeyor

These pass locally, just not with AppVeyor's host.
This commit is contained in:
Andrew Schwartzmeyer 2016-05-12 14:22:04 -07:00
parent 2712cead34
commit d1c2a2c896

View File

@ -4,13 +4,13 @@ Describe "Set-PSDebug" {
Set-PSDebug -Off
}
It "Should be able to go through the tracing options" {
It "Should be able to go through the tracing options" -Skip:($env:APPVEYOR -eq "TRUE") {
{ Set-PSDebug -Trace 0 } | Should Not Throw
{ Set-PSDebug -Trace 1 } | Should Not Throw
{ Set-PSDebug -Trace 2 } | Should Not Throw
}
It "Should be able to set strict" {
It "Should be able to set strict" -Skip:($env:APPVEYOR -eq "TRUE") {
{ Set-PSDebug -Strict } | Should Not Throw
}
}