mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Correct case of $PSCulture special variable
This commit is contained in:
@@ -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" {
|
||||
|
||||
Reference in New Issue
Block a user