Skip to content

Commit 2d1cba7

Browse files
committed
Fix typo
Fixes #1725
1 parent 3cb0f41 commit 2d1cba7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vignettes/test-fixtures.Rmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ If you move the `local_()` call outside of a `test_that()` block, it will affect
308308

309309
- If you would otherwise have called the fixture in every test, you've saved yourself a bunch of work and duplicate code.
310310

311-
- But on the downside, if you a test fails and you want to recreate the failure in an interactive environment so you can debug, you need to remember to run all the setup code at the top of the file first.
311+
- On the downside, if your test fails and you want to recreate the failure in an interactive environment so you can debug, you need to remember to run all the setup code at the top of the file first.
312312

313313
Generally, I think it's better to copy and paste test fixtures across many tests --- sure, it adds some duplication to your code, but it makes debugging test failures so much easier.
314314

0 commit comments

Comments
 (0)