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 Oct. 30, 2024, 9:06 a.m.