tests/testthat/known_wrongly_spelled_word.R

context("Known wrongly spelled word")

test_that("Wrongly spelled patterns are raised as such.", {
  expect_error(check_spelling("./tests/testthat/known_wrongly_spelled_word.tex"))
})

Try the TeXCheckR package in your browser

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

TeXCheckR documentation built on May 29, 2024, 7:20 a.m.