r-lib / testthat

An R 📦 to make testing 😀
https://testthat.r-lib.org
Other
868 stars 313 forks source link

expect_visible() does not print a correct error message #1966

Open giovannikraushaar opened 3 weeks ago

giovannikraushaar commented 3 weeks ago

Currently running

expect_visible(invisible(TRUE))

with the error it returns the following message

Error: invisible(TRUE) does not invisibly

However this should be something like

Error: invisible(TRUE) does not visibly