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 July 26, 2023, 5:47 p.m.