tests/testthat/test-printComment.R

test_that("printComment", {
    out <- capture.output({
        printComment(c("hello", "world"))
    })
    expect_identical(
        object = out,
        expected = "## [1] \"hello\" \"world\""
    )
})
acidgenomics/r-bb8 documentation built on July 4, 2025, 5:57 a.m.