fixed get-UICulture to work cross-platform
This commit is contained in:
parent
da21e24365
commit
d9b927782b
1 changed files with 2 additions and 6 deletions
|
@ -1,13 +1,9 @@
|
|||
Describe "Get-UICulture" {
|
||||
It "Should return a type of CultureInfo as the name of the type" {
|
||||
|
||||
(Get-UICulture).GetType().Name | Should Be CultureInfo
|
||||
|
||||
(Get-UICulture).GetType().Name | Should Match CultureInfo
|
||||
}
|
||||
|
||||
It "Should have $ PsUICulture variable be equivalent to Get-UICulture object" {
|
||||
|
||||
(Get-UICulture).Name | Should Be $PsUICulture
|
||||
|
||||
(Get-UICulture).Name | Should Be $PsUICulture
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue