mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 20:56:02 +00:00
Correct case of $null special variable
This commit is contained in:
1 parent
4a9d70fdcd
commit
6014f4bac3
3 files changed
+4
-4
No files matched your search
@@ -115,7 +115,7 @@ Describe "Stream writer tests" -Tags "CI" {
|
||||
(Compare-Object $result $returnValue -SyncWindow 0).length | Should -Be 0
|
||||
}
|
||||
|
||||
It "Write-Information accepts `$Null" {
|
||||
It "Write-Information accepts `$null" {
|
||||
$streamPath = Join-Path $testdrive information.txt
|
||||
$null | Write-Information -Tags myTag -ErrorAction Stop -InformationAction SilentlyContinue -InformationVariable i
|
||||
$i.Tags | Should -BeExactly "myTag"
|
||||
|
||||
Reference in new issue
Block a user