Skip to content

Commit 9a99319

Browse files
committed
docs: add read_only docs
1 parent 8962b20 commit 9a99319

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

R/testing.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ run_test <- function(hook_name,
8686
#' @param expect_success Whether or not an exit code 0 is expected. This can
8787
#' be derived from `std_err`, but sometimes, non-empty stderr does not mean
8888
#' error, but just a message.
89+
#' @param read_only If `TRUE` and `artifacts` are not `NULL`, then assert that hook
90+
#' did not modify the artifacts.
8991
#' @keywords internal
9092
run_test_impl <- function(path_executable,
9193
path_candidate,

man/run_test.Rd

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/run_test_impl.Rd

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)