Skip to content

Commit 17b764b

Browse files
switch to third edition for testing
1 parent b82f5c2 commit 17b764b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

DESCRIPTION

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,5 @@ Roxygen: list(markdown = TRUE, roclets = c( "rd", "namespace", "collate",
5050
up to date"); NULL} ) )
5151
RoxygenNote: 7.3.1
5252
SystemRequirements: git
53+
Config/testthat/parallel: true
54+
Config/testthat/edition: 3

R/testing.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ hook_state_assert_one <- function(path_candidate,
227227
if (exit_status != 0) {
228228
testthat::fail("Expected: No error. Found:", contents)
229229
}
230-
testthat::expect_equivalent(candidate, reference)
230+
testthat::expect_equal(candidate, reference, ignore_attr = TRUE)
231231
if (!is.null(std_out)) {
232232
contents <- readLines(path_stdout)
233233
testthat::expect_match(

0 commit comments

Comments
 (0)