You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks, I can confirm that in {testthat} 3.2.2, the correct error message is displayed.
> expect_setequal(character(), c("A", "B", "C"))
Error: character() (actual) and c("A", "B", "C") (expected) don't have the same values.
* Only in expected: "A", "B", "C"
The error message from
expect_setequal
seems to mix upexpected
andactual
, as illustrated by this example:It should read
I am using
{testthat}
version 3.2.1.1.The text was updated successfully, but these errors were encountered: