mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Add migrated files
This commit is contained in:
1 parent
721ad34c62
commit
7305b82b73
22 files changed
+4658
No files matched your search
@@ -0,0 +1,19 @@
|
||||
Describe -Tags "Unit","DRT" "New-Guid" {
|
||||
|
||||
It "returns a new guid" {
|
||||
$guid = New-Guid
|
||||
$guid.GetType().FullName | Should Be "System.Guid"
|
||||
}
|
||||
|
||||
It "should not be all zeros" {
|
||||
$guid = New-Guid
|
||||
$guid.ToString() | Should Not Be "00000000-0000-0000-0000-000000000000"
|
||||
}
|
||||
|
||||
It "should return different guids with each call" {
|
||||
$guid1 = New-Guid
|
||||
$guid2 = New-Guid
|
||||
$guid1.ToString() | Should Not Be $guid2.ToString()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user