Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upexpect_error fails for java Exceptions #964
Closed
Comments
This comment has been minimized.
This comment has been minimized.
This is a known bug and we're hoping to get a fix out next week. |
This comment has been minimized.
This comment has been minimized.
Fixed by #966. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
since version 2.3.0, tests that check for java Exceptions fail.
On 2.2.0:
remotes::install_version("testthat", "2.2.0")
Created on 2019-11-08 by the reprex package (v0.3.0)
On 2.3.0:
remotes::install_version("testthat", "2.3.0")
Created on 2019-11-08 by the reprex package (v0.3.0)
I digged a little deeper, and the reason is most likely that
rlang::cnd_entrace
used incapture_error
tries to access the$trace
slot, which does prompt a java Error.Is there another method intended to test for Exceptions?