Skip to content

Commit

Permalink
Update snapshots/bump evaluate
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Oct 22, 2024
1 parent 0254208 commit bb976b7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ Description: Software testing is important, but, in part because it is
License: MIT + file LICENSE
URL: https://testthat.r-lib.org, https://github.com/r-lib/testthat
BugReports: https://github.com/r-lib/testthat/issues
Depends:
Depends:
R (>= 3.6.0)
Imports:
brio (>= 1.1.3),
callr (>= 3.7.3),
cli (>= 3.6.1),
desc (>= 1.4.2),
digest (>= 0.6.33),
evaluate (>= 0.21),
evaluate (>= 1.0.1),
jsonlite (>= 1.8.7),
lifecycle (>= 1.0.3),
magrittr (>= 2.0.3),
Expand All @@ -36,7 +36,7 @@ Imports:
utils,
waldo (>= 0.5.1),
withr (>= 2.5.0)
Suggests:
Suggests:
covr,
curl (>= 0.9.5),
diffviewer (>= 0.1.0),
Expand All @@ -47,7 +47,7 @@ Suggests:
usethis,
vctrs (>= 0.1.0),
xml2
VignetteBuilder:
VignetteBuilder:
knitr
Config/Needs/website: tidyverse/tidytemplate
Config/testthat/edition: 3
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test-verify-conditions-lines.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ Message: First.
Second.

> warning("First.\nSecond.")
Warning in eval(expr, envir, enclos): First.
Warning: First.
Second.

> stop("First.\nSecond.")
Error in eval(expr, envir, enclos): First.
Error: First.
Second.

4 changes: 2 additions & 2 deletions tests/testthat/test-verify-conditions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ Message: Message

> # With calls
> warning("Warning")
Warning in eval(expr, envir, enclos): Warning
Warning: Warning

> stop("Error")
Error in eval(expr, envir, enclos): Error
Error: Error

> # Without calls
> warning("Warning", call. = FALSE)
Expand Down

0 comments on commit bb976b7

Please sign in to comment.