From bb976b79511e2a9021650e64b423a1fb9f0d730a Mon Sep 17 00:00:00 2001 From: Hadley Wickham Date: Tue, 22 Oct 2024 17:22:04 -0500 Subject: [PATCH] Update snapshots/bump evaluate --- DESCRIPTION | 8 ++++---- tests/testthat/test-verify-conditions-lines.txt | 4 ++-- tests/testthat/test-verify-conditions.txt | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 0d38b02d9..e8e7b9307 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -14,7 +14,7 @@ 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), @@ -22,7 +22,7 @@ Imports: 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), @@ -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), @@ -47,7 +47,7 @@ Suggests: usethis, vctrs (>= 0.1.0), xml2 -VignetteBuilder: +VignetteBuilder: knitr Config/Needs/website: tidyverse/tidytemplate Config/testthat/edition: 3 diff --git a/tests/testthat/test-verify-conditions-lines.txt b/tests/testthat/test-verify-conditions-lines.txt index 8e10f218e..fa8a1881d 100644 --- a/tests/testthat/test-verify-conditions-lines.txt +++ b/tests/testthat/test-verify-conditions-lines.txt @@ -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. diff --git a/tests/testthat/test-verify-conditions.txt b/tests/testthat/test-verify-conditions.txt index 0d659b6c0..63fdf0eb4 100644 --- a/tests/testthat/test-verify-conditions.txt +++ b/tests/testthat/test-verify-conditions.txt @@ -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)