tests/testthat/test-cq.R

test_that("cq works", {
  expected <- c("dale", "audrey", "laura", "hawk")
  expect_equal(ccq("  dale    audrey   laura hawk "), expected)
  expect_equal(cq(dale, audrey, laura, hawk), expected)
  expect_error(ccq("dale audrey laura", hawk))
})
tjtnew/coffee documentation built on Dec. 23, 2021, 11 a.m.