tests/testthat/test-multiples_of_3_and_5.R

context("multiples of 3 and 5")

test_that("x is string", {
  expect_that(multiples(x = "hello"), throws_error())
})
wiep/introToR17 documentation built on May 17, 2019, 11:18 p.m.