tests/testthat/test-utilities-break.R

test_that("cut_interval throws the correct error message", {
  expect_snapshot_error(cut_interval(x = 1:10, width = 10))
})
tidyverse/ggplot2 documentation built on Jan. 29, 2025, 6:53 a.m.