mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Merge pull request #877 from PowerShell/GetCultureUT
Add Unit Test for Get-Culture
This commit is contained in:
commit
abfbb53b49
1 file changed
+8
@@ -1,3 +1,11 @@
|
|||||||
|
Describe "Get-Culture DRT Unit Tests" -Tags DRT{
|
||||||
|
It "Should works proper with get-culture" {
|
||||||
|
$results = get-Culture
|
||||||
|
$results -is "System.Globalization.CultureInfo" | Should be $true
|
||||||
|
$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" {
|
||||||
|
|||||||
Reference in new issue
Block a user