We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
library(testthat) test_that("abc", { local_edition(3) expect_snapshot(stop("foo!")) expect_snapshot(1 + 1) }) #> Can't compare snapshot to reference when testing interactively. #> ℹ Run `devtools::test()` or `testthat::test_file()` to see changes. #> Current value: #> Code #> 1 + 1 #> Output #> [1] 2 #> ── Error: abc ────────────────────────────────────────────────────────────────── #> `stop("foo!")` threw an unexpected error. #> Message: foo! #> Class: simpleError/error/condition #> Error: #> ! Test failed
Created on 2023-11-28 with reprex v2.0.2.9000
Problems:
The text was updated successfully, but these errors were encountered:
Re-signal unexpected snapshot errors
9235597
Fixes #1906
Re-signal unexpected snapshot errors (#1910)
04519fe
Successfully merging a pull request may close this issue.
Created on 2023-11-28 with reprex v2.0.2.9000
Problems:
The text was updated successfully, but these errors were encountered: