Modify Pester test for New-Object

This commit is contained in:
TingLiu6 committed 2016-03-24 19:40:39 -07:00
1 parent bd51520505
commit 2d622eedc0
1 file changed
+1 -4
+1 -4
View File
@@ -29,10 +29,7 @@ Describe "New-Object" {
$o = New-Object -TypeName System.Version -ArgumentList "1.2.3.4"
$val = $o.GetType()
$o.Major | Should Be 1
$o.Minor | Should Be 2
$o.Build | Should Be 3
$o.Revision | Should Be 4
$o | Should Be "1.2.3.4"
$val.IsPublic | Should Be $true
$val.IsSerializable | Should Be $false