tests/testthat/test-print.R

context("print")

test_that("header_line", {
  expect_output(
    header_line("title"),
    "title"
  )
})

Try the rhub package in your browser

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

rhub documentation built on Aug. 31, 2022, 5:06 p.m.