Closed MichaelChirico closed 1 year ago
Thank you but closing since it's outdated, see also https://github.com/tidymodels/dials/issues/308#issuecomment-1754869943
Oh, @hfrick, actually this PR changed a different test:
Should I change it to use the same "test for subset" approach?
Oh, good catch! Yeah, would you make a fresh PR and change both of those expectations to that approach? If you want to go for using expect_in()
, that would be a nice upgrade.
This pull request has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.
Closes #308.
Also switch to
expect_setequal()
for readability. Note that recent {testthat} makesexpect_setequal()
more attractive:https://github.com/r-lib/testthat/issues/1657