tests/testthat/test-escape-infotex.R

test_that("escape_infotex doubles infotex backslashes", {
  expect_equal(escape_infotex("\\testonly"), "\\\\testonly")
})

Try the testex package in your browser

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

testex documentation built on June 22, 2024, 11:14 a.m.