diff --git a/tests/testthat/helper-processing.R b/tests/testthat/helper-processing.R index 650505a10..0d1637d9a 100644 --- a/tests/testthat/helper-processing.R +++ b/tests/testthat/helper-processing.R @@ -1,7 +1,5 @@ -# utility for checking the output of knotr -# -# @param object R object to evaluate -# @param file the filename to have things escaped +# This helper allows me to properly check the output of knitr without running +# afoul of the weird escapes it has processing_ <- function (file) { sprintf("processing file: .+?%s", sub("\\.", "\\\\.", basename(file))) }