Skip to content

Commit d8115b1

Browse files
authored
Improve language (#1217)
1 parent a01e18a commit d8115b1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

R/test-files.R

+3-3
Original file line numberDiff line numberDiff line change
@@ -280,9 +280,9 @@ test_one_file <- function(path, env = test_env(), wrap = TRUE) {
280280

281281
#' Run code after all test files
282282
#'
283-
#' This environment no purpose except as a handle for [withr::defer()]: use
284-
#' this environment when you want to run code until after all tests have been
285-
#' run. Typically, you'll use `withr::defer(cleanup(), teardown_env())`
283+
#' This environment has no purpose other than as a handle for [withr::defer()]:
284+
#' use it when you want to run code after all tests have been run.
285+
#' Typically, you'll use `withr::defer(cleanup(), teardown_env())`
286286
#' immediately after you've made a mess in a `setup-*.R` file.
287287
#'
288288
#' @export

man/teardown_env.Rd

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)