mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Fix the issue of CR fot Get-Culture
This commit is contained in:
1 parent
2b54e7a709
commit
e67043d99f
1 file changed
+1
-2
@@ -1,8 +1,7 @@
|
||||
Describe "Get-Culture DRT Unit Tests" -Tags DRT{
|
||||
It "Should works proper with get-culture" {
|
||||
$results = get-Culture
|
||||
$results | Should Not BeNullOrEmpty
|
||||
$results[0].GetType() | Should Be CultureInfo
|
||||
$results -is "System.Globalization.CultureInfo" | Should be $true
|
||||
$results[0].Name | Should Be $PSCulture
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user