Skip to content

Commit ba7a991

Browse files
committed
fix condition
1 parent b19f627 commit ba7a991

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/GraphQL.Client.Tests.Common/FluentAssertions.Reactive/ObservableAssertions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public AndWhichConstraint<ObservableAssertions<TPayload>, IEnumerable<TPayload>>
6161
}
6262

6363
assertion
64-
.ForCondition(notifications.Count < numberOfNotifications)
64+
.ForCondition(notifications.Count >= numberOfNotifications)
6565
.FailWith("but {0} were received within {1}.", notifications.Count, timeout);
6666

6767
return new AndWhichConstraint<ObservableAssertions<TPayload>, IEnumerable<TPayload>>(this, notifications);
@@ -93,7 +93,7 @@ public async Task<AndWhichConstraint<ObservableAssertions<TPayload>, IEnumerable
9393
}
9494

9595
assertion
96-
.ForCondition(notifications.Count < numberOfNotifications)
96+
.ForCondition(notifications.Count >= numberOfNotifications)
9797
.FailWith("but {0} were received within {1}.", notifications.Count, timeout);
9898

9999
return new AndWhichConstraint<ObservableAssertions<TPayload>, IEnumerable<TPayload>>(this, notifications);

0 commit comments

Comments
 (0)