Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/testthat/test-standalone-defer.R
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ test_that("non-top-level global env is unwound like a normal env", {
expect_length(the$global_exits, 0)
})

test_that("defered actions in global env are run on exit", {
test_that("deferred actions in global env are run on exit", {
path <- local_tempfile()
callr::r(
function(path) {
Expand All @@ -72,7 +72,7 @@ test_that("defered actions in global env are run on exit", {
expect_equal(readLines(path), "a")
})

test_that("defered actions in Rmd are run on exit", {
test_that("deferred actions in Rmd are run on exit", {
skip_if_cannot_knit()

rmd <- local_tempfile(fileext = ".Rmd")
Expand Down
Loading