diff --git a/test/powershell/Modules/Microsoft.PowerShell.Utility/Get-Date.Tests.ps1 b/test/powershell/Modules/Microsoft.PowerShell.Utility/Get-Date.Tests.ps1 index d45f5aaa6b..48a52d7940 100644 --- a/test/powershell/Modules/Microsoft.PowerShell.Utility/Get-Date.Tests.ps1 +++ b/test/powershell/Modules/Microsoft.PowerShell.Utility/Get-Date.Tests.ps1 @@ -28,7 +28,7 @@ Describe "Get-Date DRT Unit Tests" -Tags "CI" { $seconds = Get-date -Date:"Jan 1, 2020Z" -UFormat:"%s" $seconds | Should -Be "1577836800" - if ($isLinux) { + if ($IsLinux) { $dateString = "01/01/2020 UTC" if ( (Get-PlatformInfo) -eq "alpine" ) { $dateString = "2020-01-01"