tests/testthat/test-unglue_detect.R

test_that("unglue_detect works", {
  expect_true(unglue_detect("this and that", "{x} and {y}"))
  expect_false(unglue_detect("this and that", "{x} or {y}"))
})
moodymudskipper/unglue documentation built on Dec. 8, 2024, 9:07 p.m.