tests/testthat/test_spellcheck_0-6-2.R

context("spellcheck")

test_that("grattanReporter #113", {
  # i.e. respect ignore_spelling_in_nth for inputs
  expect_error(check_spelling("spelling/ignore_113.tex"), 
               regexp = "failed")
  expect_null(check_spelling("spelling/ignore_113.tex", 
                             ignore_spelling_in_nth = list("foo" = 1:2)))
})

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.