hook_state_assert: Check if the hook produced what you want

View source: R/testing.R

hook_state_assertR Documentation

Check if the hook produced what you want

Description

Match the resulting state after the hook run with the expected state

Usage

hook_state_assert(
  path_candidate,
  tempdir,
  path_candidate_temp,
  file_transformer,
  path_stdout,
  path_stderr,
  expect_success,
  std_err,
  std_out,
  exit_status
)

precommit documentation built on Sept. 11, 2024, 7:07 p.m.