Last active
November 12, 2015 01:32
-
-
Save mattmcnabb/85287e5ffff4426f3767 to your computer and use it in GitHub Desktop.
Short-Circuit Evaluation in Pester It Blocks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Describe "Example" { | |
It "Performs short-circuit evaluation" { | |
Test-Path c:\NoDirHere | Should be $true | |
Get-ChildItem c:\NoDirHere -File | Should Not Be $null | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment