Skip to content

Commit

Permalink
fix typo (#1918)
Browse files Browse the repository at this point in the history
  • Loading branch information
JBGruber committed Feb 13, 2024
1 parent 6d33469 commit 29c73be
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/reporter.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#' Manage test reporting
#'
#' The job of a reporter is to aggregate the results from files, tests, and
#' expectations and display them in an informative way. Every testtthat function
#' expectations and display them in an informative way. Every testthat function
#' that runs multiple tests provides a `reporter` argument which you can
#' use to override the default (which is selected by [default_reporter()]).
#'
Expand Down
2 changes: 1 addition & 1 deletion man/Reporter.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vignettes/special-files.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ In principle, you should be able to be run your test files in any order or even

## Helper files

Helper files live in `tests/testtthat/`, start with `helper`, and end with `.r` or `.R`.
Helper files live in `tests/testthat/`, start with `helper`, and end with `.r` or `.R`.
They are sourced by `devtools::load_all()` (so they're available interactively when developing your packages) and by `test_check()` and friends (so that they're available no matter how your tests are executed).

Helper files are a useful place for functions that you've extracted from repeated code in your tests, whether that be test fixtures (`vignette("test-fixtures")`), custom expectations (`vignette("custom-expectations")`), or skip helpers (`vignette("skipping")`).
Expand Down

0 comments on commit 29c73be

Please sign in to comment.