-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TestSubscription#requestedEquals(0)
incorrectly validates the value (…
…#1642) Motivation: `TestSubscription#requestedEquals` depends on the passed `value` and if `value == 0` it does not check the current cumulative value of requested elements, it only checks if `request(long)` was ever invoked or not. Modifications: - Fix validation in `TestSubscription#requestedEquals`; - Adjust existing tests to account for new behavior; Result: `TestSubscription#requestedEquals(0)` validates that `request(long)` was invoked and the current cumulative value if equal to `0`.
- Loading branch information
1 parent
bae121c
commit 8f2c372
Showing
3 changed files
with
5 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters