Correct case of $PSCulture special variable

This commit is contained in:
xtqqczze
2020-01-13 19:35:06 +00:00
parent 225164037f
commit 2782b73e37
2 changed files with 2 additions and 2 deletions
@@ -120,7 +120,7 @@ Describe 'Testing of script internationalization' -Tags "CI" {
import-localizedData mydata -filename if
if ($psculture -eq 'en-US')
if ($PSCulture -eq 'en-US')
{
$mydata.string1 | Should -BeExactly 'string1 for en-US in if'
$mydata.string2 | Should -BeExactly 'string2 for en-US in if'
@@ -14,7 +14,7 @@ Describe "Get-Culture" -Tags "CI" {
It "Should have (Get-Culture).Name variable be equivalent to `$PSCulture" {
(Get-Culture).Name | Should -BeExactly $PsCulture
(Get-Culture).Name | Should -BeExactly $PSCulture
}
It "Should return the specified culture with '-Name' parameter" {