Skip to content

Commit

Permalink
make the helper code comment clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
zkamvar committed Jan 25, 2023
1 parent 0b8e479 commit 1bf3f7d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/testthat/helper-processing.R
Original file line number Diff line number Diff line change
@@ -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)))
}

0 comments on commit 1bf3f7d

Please sign in to comment.