Add source URL to test fixture script (#9296)

This commit is contained in:
Wilken Rivera 2020-05-26 10:24:12 -04:00 committed by GitHub
parent 601d3638f6
commit 1e90165a56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -1,13 +1,13 @@
# Test fixture is a modified version of the example found at
# https://www.powershellmagazine.com/2012/10/23/pstip-set-strictmode-why-should-you-care/
Set-StrictMode -Version Latest
$ErrorActionPreference = "Stop"
$myNumbersCollection = 1..5
if($myNumbersCollection -contains 3)
{
if($myNumbersCollection -contains 3) {
"collection contains 3"
}
else
{
else {
"collection doesn't contain 3"
}