Fix indentation in the test

This commit is contained in:
Dongbo Wang
2016-09-26 11:56:12 -07:00
committed by Jason Shirk
parent 89b5ae5de1
commit 5d2f52e4e9
@@ -131,14 +131,14 @@ Describe "Assign automatic variables" -Tags "CI" {
}
It "Assign auto w/ correct type constraint" {
& { [object]$_ = 1; $_ } | Should Be 1
& { [object[]]$args = 1; $args } | Should Be 1
& { [object]$this = 1; $this } | Should Be 1
& { [object]$input = 1; $input } | Should Be 1
# Can't test PSCmdlet or PSBoundParameters, they use an internal type
& { [System.Management.Automation.InvocationInfo]$myInvocation = $myInvocation; $myInvocation.Line } | Should Match Automation.InvocationInfo
& { [string]$PSScriptRoot = 'abc'; $PSScriptRoot } | Should Be abc
& { [string]$PSCommandPath = 'abc'; $PSCommandPath } | Should Be abc
& { [object]$_ = 1; $_ } | Should Be 1
& { [object[]]$args = 1; $args } | Should Be 1
& { [object]$this = 1; $this } | Should Be 1
& { [object]$input = 1; $input } | Should Be 1
# Can't test PSCmdlet or PSBoundParameters, they use an internal type
& { [System.Management.Automation.InvocationInfo]$myInvocation = $myInvocation; $myInvocation.Line } | Should Match Automation.InvocationInfo
& { [string]$PSScriptRoot = 'abc'; $PSScriptRoot } | Should Be abc
& { [string]$PSCommandPath = 'abc'; $PSCommandPath } | Should Be abc
}
It "Assign `$? w/o type constraint" {