tests/testthat/test-cv.r

context("cv")

if(nzchar(bibtool_path(mustWork=FALSE))){
test_that("clean bibtex file", {
  bibin="testdata/bib/bibdesk.bib"
  expect_is(bibout<-bibdesk_clean(bibin), 'character')
  # modulo line endings I guess
  expect_equivalent(tools::md5sum(bibout), "5451e1662921cddffd7cbc264ce8f587")
})
}
jefferis/paperutils documentation built on Sept. 20, 2019, 10:20 a.m.