mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
spelling fixes: test
This commit is contained in:
1 parent
b375807d7f
commit
2badb244de
38 files changed
+96
-96
No files matched your search
@@ -3,16 +3,16 @@ Describe "Start-Sleep DRT Unit Tests" -Tags "CI" {
|
||||
$dtStart = [DateTime]::Now
|
||||
Start-Sleep -Seconds 1
|
||||
$dtEnd = [DateTime]::Now
|
||||
$millseconds = (New-TimeSpan -Start $dtStart -End $dtEnd).TotalMilliseconds
|
||||
$millseconds | Should BeGreaterThan 1000
|
||||
$milliseconds = (New-TimeSpan -Start $dtStart -End $dtEnd).TotalMilliseconds
|
||||
$milliseconds | Should BeGreaterThan 1000
|
||||
}
|
||||
|
||||
It "Should be works properly when sleeping with Milliseconds" {
|
||||
$dtStart = [DateTime]::Now
|
||||
Start-Sleep -Milliseconds 1000
|
||||
$dtEnd = [DateTime]::Now
|
||||
$millseconds = (New-TimeSpan -Start $dtStart -End $dtEnd).TotalMilliseconds
|
||||
$millseconds | Should BeGreaterThan 1000
|
||||
$milliseconds = (New-TimeSpan -Start $dtStart -End $dtEnd).TotalMilliseconds
|
||||
$milliseconds | Should BeGreaterThan 1000
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user