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_setequal does not report missing values #1835

Closed
aronatkins opened this issue Jul 18, 2023 · 0 comments · Fixed by #1837
Closed

expect_setequal does not report missing values #1835

aronatkins opened this issue Jul 18, 2023 · 0 comments · Fixed by #1837
Labels
bug an unexpected problem or unintended behavior expectation 🙀

Comments

@aronatkins
Copy link

Using testthat 3.1.10:

actual <- c("foreign","withr","renv")
testthat::expect_setequal(actual, c("foreign", "withr"))
#> Error: `actual` (`actual`) and c("foreign", "withr") (`expected`) don't have the same values.
#> * Only in `expected`:

Created on 2023-07-18 with reprex v2.0.2

hadley added a commit that referenced this issue Jul 26, 2023
@hadley hadley added bug an unexpected problem or unintended behavior expectation 🙀 labels Jul 26, 2023
hadley added a commit that referenced this issue Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior expectation 🙀
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants