tests/testthat/test-has_homebrew.R

test_that("input validation and correct result type", {
  expect_error(has_homebrew(NULL))
  expect_true(is.logical(has_homebrew()))
})
briandconnelly/homebrew documentation built on Dec. 19, 2021, 11:43 a.m.