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 Nov. 17, 2020, 9:08 a.m.