Skip to content

Commit

Permalink
Fix typo in vignette
Browse files Browse the repository at this point in the history
docs: fix typo -> tripple "t" in testtthat -> testthat
  • Loading branch information
ilyaZar authored Jan 6, 2024
1 parent fe50a22 commit 87686aa
Showing 1 changed file with 1 addition and 1 deletion.
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 87686aa

Please sign in to comment.