dwww Home | Show directory contents | Find package

test_that("cat_line appends to file", {
  tmp <- tempfile()
  cat_line("a", file = tmp)
  cat_line("b", file = tmp)
  expect_equal(readLines(tmp), c("a", "b"))
})

Generated by dwww version 1.15 on Sat Jun 15 19:12:47 CEST 2024.