From e67043d99fe79c525ad71a514dae4b7cb0370270 Mon Sep 17 00:00:00 2001 From: TingLiu6 Date: Thu, 21 Apr 2016 23:46:21 -0700 Subject: [PATCH] Fix the issue of CR fot Get-Culture --- test/powershell/Get-Culture.Tests.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/powershell/Get-Culture.Tests.ps1 b/test/powershell/Get-Culture.Tests.ps1 index 678129cbe..f886b57d6 100644 --- a/test/powershell/Get-Culture.Tests.ps1 +++ b/test/powershell/Get-Culture.Tests.ps1 @@ -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 } }