tests/testthat/test-90-regression.R

context("regression tests")

test_that("regression - handle NULL from knitr::opts_chunk$get('engine.opts')$perl ", {
  words <- perlbrewr:::shellwords(x = NULL)
  expect_equal(words, character(0))
})
kiwiroy/perlbrewr documentation built on May 2, 2020, 7:45 a.m.