tests/testthat/test-utils.R

describe("captures", {
  it("works with non-ASCII inputs (#120)", {
    expect_equal(captures("ë", regexpr("(.)", "ë", perl = TRUE))[[1]], "ë")
  })
})

Try the fs package in your browser

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

fs documentation built on May 29, 2024, 12:28 p.m.