| 1 |
# nocov start - expect_known_display() |
| 2 |
#' Test helpers |
| 3 |
#' |
| 4 |
#' Use [testthat::expect_snapshot()] instead of `expect_known_display()`. |
| 5 |
#' |
| 6 |
#' @inheritParams testthat::expect_known_output |
| 7 |
#' @param object An object to check. |
| 8 |
#' @param ... Unused. |
| 9 |
#' @param width The width of the output. |
| 10 |
#' @param crayon Color the output? |
| 11 |
#' @rdname deprecated |
| 12 |
#' @export |
| 13 |
expect_known_display <- function(object, file, ..., width = 80L, crayon = TRUE) { |
| 14 |
lifecycle::deprecate_stop( |
| 15 |
"1.7.0", "pillar::expect_known_display()", |
| 16 |
"testthat::expect_snapshot()" |
| 17 |
) |
| 18 |
} |
| 19 |
# nocov end |