mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Modify Pester test for New-Object
This commit is contained in:
1 parent
bd51520505
commit
2d622eedc0
1 file changed
+1
-4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user