Skip to content
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

expect_contains() #1346

Closed
hadley opened this issue Mar 3, 2021 · 0 comments · Fixed by #1817
Closed

expect_contains() #1346

hadley opened this issue Mar 3, 2021 · 0 comments · Fixed by #1817
Labels
expectation 🙀 feature a feature request or enhancement
Milestone

Comments

@hadley
Copy link
Member

hadley commented Mar 3, 2021

expect_contains(haystack, needle) shortcut for all(needle %in% haystack) but shows all of haystack if needle not found.

@hadley hadley added expectation 🙀 feature a feature request or enhancement labels Jul 7, 2021
@hadley hadley added this to the 3.1.8 milestone Jun 5, 2023
hadley added a commit that referenced this issue Jun 5, 2023
hadley added a commit that referenced this issue Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
expectation 🙀 feature a feature request or enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant