expect_output_file: Expectations: is the output or the value equal to a known...

Description Usage 3rd edition

View source: R/expect-known.R

Description

expect_output_file() behaves identically to expect_known_output().

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
expect_output_file(
  object,
  file,
  update = TRUE,
  ...,
  info = NULL,
  label = NULL,
  print = FALSE,
  width = 80
)

3rd edition

[Deprecated]

expect_output_file() is deprecated in the 3rd edition; please use expect_snapshot_output() and friends instead.


r-lib/testthat documentation built on Sept. 25, 2021, 3:02 p.m.