Skip to content

Commit

Permalink
Fix flaky tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Becker authored and adam-becker committed Feb 2, 2021
1 parent fffdac4 commit c553aca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Hedgehog.Linq.Tests/LinqTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ from z in ForAll(Gen.Bool)
public void CanUseWhereWithAssertion()
{
var property =
from x in ForAll(Gen.Bool)
from x in ForAll(Gen.FromValue(true))
where x == true
from y in ForAll(Gen.Bool)
from y in ForAll(Gen.FromValue(false))
where y == false
select Assert.True(x && !y);

Expand All @@ -94,9 +94,9 @@ from y in ForAll(Gen.Bool)
public void CanUseWhereWithBool()
{
var property =
from x in ForAll(Gen.Bool)
from x in ForAll(Gen.FromValue(true))
where x == true
from y in ForAll(Gen.Bool)
from y in ForAll(Gen.FromValue(false))
where y == false
select x && !y;

Expand Down

0 comments on commit c553aca

Please sign in to comment.