Skip to content

Overload single assertion #562

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Goooler
Copy link
Contributor

@Goooler Goooler commented Jan 15, 2025

No description provided.

Co-authored-by: Jake Wharton <github@jakewharton.com>
@@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Added
- Add version of the `single` function which takes a predicate for selecting the element from a collection.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Add version of the `single` function which takes a predicate for selecting the element from a collection.
- Add version of the `single` function which takes a predicate for selecting the element from an `Iterable`.

What about this?

Co-authored-by: Jake Wharton <github@jakewharton.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants