Skip to content

Commit 774208d

Browse files
Merge pull request #1038 from MichaelChirico/patch-2
typo
2 parents ed75582 + 799249c commit 774208d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/testthat/test-cache-interaction-roxygen-code-examples.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
test_that("roxzgen code examples are written to cache as both individual expressions and as whole text", {
1+
test_that("roxyen code examples are written to cache as both individual expressions and as whole text", {
22
local_test_setup(cache = TRUE)
33
more_specs <- cache_more_specs_default()
44
text <- c(
@@ -14,10 +14,10 @@ test_that("roxzgen code examples are written to cache as both individual express
1414
styled <- style_text(text)
1515
expect_equal(cache_info(format = "tabular")$n, 6)
1616
# 1 whole (with comments)
17-
# 1code whole
17+
# 1 code whole
1818
# 1 code by expr
19-
# 1 roxzgen whole
20-
# 2 roxzgen individula
19+
# 1 roxygen whole
20+
# 2 roxygen individual
2121
# total: 6
2222
expect_true(
2323
is_cached(as.character(styled), tidyverse_style(), more_specs = more_specs)

tests/testthat/tests-cache-require-serial.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ test_that("top-level test: Caches top-level expressions efficiently on style_tex
3030
})
3131

3232

33-
test_that("roxzgen code examples are written to cache as whole expressions bring speedgain", {
33+
test_that("roxygen code examples are written to cache as whole expressions bring speedgain", {
3434
skip_on_cran()
3535
local_test_setup(cache = TRUE)
3636
text <- readLines(test_path("cache-with-r-cache/roxygen-cache-1.R"))

0 commit comments

Comments
 (0)