mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Updaet fixed comments for Set-Variable Peste unit test
This commit is contained in:
1 parent
60c3b58f9e
commit
ca049ba56f
1 file changed
+1
-3
@@ -162,8 +162,6 @@ Describe "Set-Variable DRT Unit Tests" -Tags DRT{
|
||||
}
|
||||
|
||||
Describe "Set-Variable" {
|
||||
${nl} = [Environment]::Newline
|
||||
|
||||
It "Should create a new variable with no parameters" {
|
||||
{ Set-Variable testVar } | Should Not Throw
|
||||
}
|
||||
@@ -216,7 +214,7 @@ Describe "Set-Variable" {
|
||||
$output = $in | Format-List -Property Description | Out-String
|
||||
|
||||
# This will cause errors running these tests in Windows
|
||||
$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" {
|
||||
|
||||
Reference in new issue
Block a user