From 2665ee6e5d588532fba1856933b4fe82b48b5d10 Mon Sep 17 00:00:00 2001 From: Alex Jordan Date: Thu, 19 Nov 2015 06:36:13 +0000 Subject: [PATCH] minor logic change to Start-Sleep pester test --- src/pester-tests/Start-Sleep.Tests.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pester-tests/Start-Sleep.Tests.ps1 b/src/pester-tests/Start-Sleep.Tests.ps1 index afb5f34842..43fede7698 100644 --- a/src/pester-tests/Start-Sleep.Tests.ps1 +++ b/src/pester-tests/Start-Sleep.Tests.ps1 @@ -3,12 +3,12 @@ Describe "Start-Sleep" { Context "Validate Start-Sleep works properly" { It "Should only sleep for at least 3 seconds"{ $result = Measure-Command { Start-Sleep -s 3 } - $result.Seconds | Should BeGreaterThan 3 + $result.Seconds | Should BeGreaterThan 2 } It "Should sleep for at least 3 seconds using the alias" { $result = Measure-Command { sleep -s 3 } - $result.Seconds | Should BeGreaterThan 3 + $result.Seconds | Should BeGreaterThan 2 } } }