Remove newline var for New-Variable Pester Unit Test

This commit is contained in:
JumpingYang001
2016-04-19 16:00:39 -07:00
committed by Andrew Schwartzmeyer
parent 4a619f49e3
commit 1f739bb85c
+1 -3
View File
@@ -58,8 +58,6 @@ Describe "New-Variable DRT Unit Tests" -Tags DRT{
}
Describe "New-Variable" {
$nl = [Environment]::NewLine
It "Should create a new variable with no parameters" {
{ New-Variable var1 } | Should Not Throw
}
@@ -123,7 +121,7 @@ Describe "New-Variable" {
$output = $in | Format-List -Property Description | Out-String
$output | Should Be "${nl}${nl}Description : test description${nl}${nl}${nl}${nl}"
$output.Trim() | Should Be "Description : test description"
}
It "Should be able to set the value using the value switch" {