Add Unit Test for Get-Culture

This commit is contained in:
TingLiu6 2016-04-20 01:28:43 -07:00
parent 61441715c1
commit 2b54e7a709

View file

@ -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" {