tests/testthat/test-def_theme.R

test_that("invalid theme name generates error", {
  theme_name <- "this is not a valid theme name"
  expect_error(Theme$new(theme_name))
})

Try the stoRy package in your browser

Any scripts or data that you put into this service are public.

stoRy documentation built on July 9, 2023, 7:46 p.m.