test_that("errors", { withr::local_options(cli.width = letters) expect_snapshot_error( console_width() ) withr::local_options(cli.width = NA_integer_) expect_snapshot_error( console_width() ) withr::local_options(cli.width = -100L) expect_snapshot_error( console_width() ) })
Generated by dwww version 1.15 on Thu Jun 20 14:29:45 CEST 2024.