diff --git a/src/pester-tests/Get-Random.Tests.ps1 b/src/pester-tests/Get-Random.Tests.ps1 index 44b1847f51..01d4ee91f8 100644 --- a/src/pester-tests/Get-Random.Tests.ps1 +++ b/src/pester-tests/Get-Random.Tests.ps1 @@ -4,7 +4,7 @@ } It "Should return a random number less than 100 " { Get-Random -Maximum 100 | Should BeLessThan 100 - Get-Random -Maximum 100 | Should BeGreaterThan 0 + Get-Random -Maximum 100 | Should BeGreaterThan -1 } It "Should return a random number less than 100 and greater than -100 " {