tests/testthat/test_check_sentence_ending_periods.R

context("Sentence-ending periods")

test_that("Raises error when sentence-ending period exists", {
  expect_error(check_sentence_ending_periods("sentence-ending-period-error.tex"))
})
HughParsonage/grattanReporter documentation built on May 7, 2019, 5:02 a.m.