dbplyr
dbplyr copied to clipboard
transition `expect_error()` for snowflake backend
trafficstars
Related to the first checkbox in #1546 but does not close; a demo of what that PR would look like for all backends.
For snowflake, transition expect_error():
- ...to snapshot when testing the error message
- ...to classed error when testing an error from another package or an error thrown from a widely-used helper
- ...to
expect_no_error()(or no test) whenregex = NA - Analogous story for
expect_warning()andexpect_message().