Skip to content

Commit

Permalink
Update additional unit test for latexify
Browse files Browse the repository at this point in the history
  • Loading branch information
mwmclean committed Sep 26, 2024
1 parent d6628b3 commit d546b3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-tobiblatex.R
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ test_that("toBibtex can toggle encoding names to LaTeX (#105)",
{
out <- toBibtex(bib, encoded.names.to.latex = TRUE)
out.author = out[3]
expect_true(grepl("{\\a'e}", out.author, fixed = TRUE))
expect_true(grepl("\\'{e}", out.author, fixed = TRUE))
out <- toBibtex(bib, encoded.names.to.latex = FALSE)
out.author = out[3]
expect_false(grepl("{\\a'e}", out.author, fixed = TRUE))
expect_false(grepl("\\'{e}", out.author, fixed = TRUE))
})

0 comments on commit d546b3b

Please sign in to comment.