Add Unit Test for Get-Culture
This commit is contained in:
parent
61441715c1
commit
2b54e7a709
1 changed files with 9 additions and 0 deletions
|
@ -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" {
|
Describe "Get-Culture" {
|
||||||
|
|
||||||
It "Should return a type of CultureInfo for Get-Culture cmdlet" {
|
It "Should return a type of CultureInfo for Get-Culture cmdlet" {
|
||||||
|
|
Loading…
Reference in a new issue