mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Add Unit Test for Get-Culture
This commit is contained in:
1 parent
61441715c1
commit
2b54e7a709
1 file changed
+9
@@ -1,3 +1,12 @@
|
||||
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[0].Name | Should Be $PSCulture
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Get-Culture" {
|
||||
|
||||
It "Should return a type of CultureInfo for Get-Culture cmdlet" {
|
||||
|
||||
Reference in new issue
Block a user