tests/testthat/test-contains.R

test_that("strs_contains works", {
  expect_true(strs_contains("words", "rds"))
  expect_false(strs_contains("words", "kds"))
})

Try the strs package in your browser

Any scripts or data that you put into this service are public.

strs documentation built on Sept. 11, 2024, 6:44 p.m.